1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-13 09:16:14 +01:00

fix status letter for files merged on update (in analogy to svn , it is either G or U)

This commit is contained in:
Dr. Peter Poeml 2006-05-23 09:59:22 +00:00
parent 4b29f6a501
commit 4ec0b4fbe7
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ def main():
print statfrmt(status_after_merge, filename)
elif state == 'M':
p.updatefile(filename)
print statfrmt('M', filename)
print statfrmt('U', filename)
elif state == '!':
p.updatefile(filename)
print 'Restored \'%s\'' % filename

View File

@ -213,7 +213,7 @@ class Package:
os.rename(upfilename, filename)
copy_file(filename, storefilename)
os.unlink(myfilename)
return 'M'
return 'G'
else:
# unsuccessful merge
self.in_conflict.append(n)