Exclude the HEAD symbolic ref from the list of known branches

This commit is contained in:
Marius Storm-Olsen
2007-06-07 15:28:04 +02:00
parent 275f02aadc
commit 853e41475e

2
git-p4
View File

@@ -934,7 +934,7 @@ class P4Sync(Command):
line = line.strip()
## only import to p4/
if not line.startswith('p4/'):
if not line.startswith('p4/') or line == "p4/HEAD":
continue
branch = line
if self.importIntoRemotes: