Index: gclient_scm.py |
=================================================================== |
--- gclient_scm.py (revision 224806) |
+++ gclient_scm.py (working copy) |
@@ -1018,7 +1018,7 @@ |
# Let's just save off the commit so we can proceed. |
name = ('saved-by-gclient-' + |
self._Capture(['rev-parse', '--short', 'HEAD'])) |
- self._Capture(['branch', name]) |
+ self._Capture(['branch', '-f', name]) |
print('\n_____ found an unreferenced commit and saved it as \'%s\'' % |
name) |