Exclude the HEAD symbolic ref from the list of known branches
Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
This commit is contained in:
@ -934,7 +934,7 @@ class P4Sync(Command):
|
|||||||
line = line.strip()
|
line = line.strip()
|
||||||
|
|
||||||
## only import to p4/
|
## only import to p4/
|
||||||
if not line.startswith('p4/'):
|
if not line.startswith('p4/') or line == "p4/HEAD":
|
||||||
continue
|
continue
|
||||||
branch = line
|
branch = line
|
||||||
if self.importIntoRemotes:
|
if self.importIntoRemotes:
|
||||||
|
Reference in New Issue
Block a user