Not force-ckeckout on some situations

This commit is contained in:
Sergio Durigan Junior 2015-07-17 12:45:33 -04:00
parent 3e6b71e771
commit 36c02e149c

View file

@ -88,7 +88,7 @@ class SaveGDBResults (ShellCommand):
myhead = repo.heads[builder]
if full_tag not in repo.tags:
myhead.checkout (force = True)
myhead.checkout ()
repo.index.add (['%s/gdb.sum' % builder,
'%s/gdb.log' % builder,
'%s/baseline' % builder])
@ -134,7 +134,7 @@ class SaveGDBResults (ShellCommand):
else:
myhead = repo.heads[branch]
myhead.checkout (force = True)
myhead.checkout ()
if full_tag not in repo.tags:
repo.index.add (['gdb.sum',
'gdb.log',