1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-12 23:56:13 +01:00

- commit: switch to new commit mode also if the -F switch is used

- update NEWS file
This commit is contained in:
Dr. Peter Poeml 2007-07-16 17:30:48 +00:00
parent b5e1dec8ad
commit 05b47f7f98
3 changed files with 15 additions and 3 deletions

15
NEWS
View File

@ -1,5 +1,18 @@
since 0.97:
[...]
- added initial search support
- new meta command, replacing editmeta, editprj, createprj,
editpac, createpac, edituser
- show helpful xml error messages if broken metadata is uploaded
- implementing a log command to review the commit log
- renamed previous "log" command to "buildlog" (short: bl)
- initial support for commit messages (ci -m/-F)
NOTE: if -m is used, osc uses a different mode of uploading
files and commit them, namely the way which is currently
documented in the api. So far, osc was uploading each file
separately through the old backward compatible way. This way
of committing can also be forced with do_commits = 1 in
.oscrc.
0.97:

View File

@ -159,7 +159,6 @@ class Pac:
for url in urllist:
self.urllist.append(url % self.mp)
def __str__(self):
return self.name

View File

@ -818,7 +818,7 @@ class Osc(cmdln.Cmdln):
# this is experimental in that it enables a different way of uploading files
# see osc.core.Package.put_source_file()
# I assume that if -m is used, we want to commit this way.
if opts.message:
if opts.message or opts.file:
conf.config['do_commits'] = True
for p in pacs: