Exclude the HEAD symbolic ref from the list of known branches
Signed-off-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>maint
parent
db775559c2
commit
c4b33253c2
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue