Not force-ckeckout on some situations
This commit is contained in:
parent
3e6b71e771
commit
36c02e149c
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ class SaveGDBResults (ShellCommand):
|
||||||
myhead = repo.heads[builder]
|
myhead = repo.heads[builder]
|
||||||
|
|
||||||
if full_tag not in repo.tags:
|
if full_tag not in repo.tags:
|
||||||
myhead.checkout (force = True)
|
myhead.checkout ()
|
||||||
repo.index.add (['%s/gdb.sum' % builder,
|
repo.index.add (['%s/gdb.sum' % builder,
|
||||||
'%s/gdb.log' % builder,
|
'%s/gdb.log' % builder,
|
||||||
'%s/baseline' % builder])
|
'%s/baseline' % builder])
|
||||||
|
@ -134,7 +134,7 @@ class SaveGDBResults (ShellCommand):
|
||||||
else:
|
else:
|
||||||
myhead = repo.heads[branch]
|
myhead = repo.heads[branch]
|
||||||
|
|
||||||
myhead.checkout (force = True)
|
myhead.checkout ()
|
||||||
if full_tag not in repo.tags:
|
if full_tag not in repo.tags:
|
||||||
repo.index.add (['gdb.sum',
|
repo.index.add (['gdb.sum',
|
||||||
'gdb.log',
|
'gdb.log',
|
||||||
|
|
Loading…
Reference in a new issue