Fix typo in listExistingP4Branches that broke sync.
Signed-off-by: Simon Hausmann <simon@lst.de>
Simon Hausmann committed
May 28, 2007 at 19:24 UTC
cfeb59be256bf9cd2853ed04d4af056b2f0eff31
1 file changed
+2
-2
contrib/fast-import/git-p4
+2
-2
@@ -846,8 +846,8 @@ class P4Sync(Command):
846
cmdline += " --branches"
847
848
for line in read_pipe_lines(cmdline):
849
- lie = line.strip()
850
- if self.importIntoRemotes and ((not line.startswith("p4/")) or line == "p4/HEAD\n"):
849
+ line = line.strip()
850
+ if self.importIntoRemotes and ((not line.startswith("p4/")) or line == "p4/HEAD"):
851
continue
852
853
if self.importIntoRemotes: