Fix typo in listExistingP4Branches that broke sync.

This commit is contained in:
Simon Hausmann
2007-05-28 19:24:57 +02:00
parent e49c494d27
commit 458e0545cb

4
git-p4
View File

@@ -846,8 +846,8 @@ class P4Sync(Command):
cmdline += " --branches"
for line in read_pipe_lines(cmdline):
lie = line.strip()
if self.importIntoRemotes and ((not line.startswith("p4/")) or line == "p4/HEAD\n"):
line = line.strip()
if self.importIntoRemotes and ((not line.startswith("p4/")) or line == "p4/HEAD"):
continue
if self.importIntoRemotes: