From 36c02e149ca5f4184db5c17048dcac6ef5d3df4f Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Fri, 17 Jul 2015 12:45:33 -0400 Subject: [PATCH] Not force-ckeckout on some situations --- lib/gdbgitdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gdbgitdb.py b/lib/gdbgitdb.py index 7966ca4..273f054 100644 --- a/lib/gdbgitdb.py +++ b/lib/gdbgitdb.py @@ -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',