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:
parent
4b29f6a501
commit
4ec0b4fbe7
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user