phases: line.strip().split() == line.split()
authorMartin Geisler <mg@aragost.com>
Fri, 04 May 2012 15:24:00 +0200
changeset 16588 72319bfd7966
parent 16587 61e31cab7d93
child 16589 fe9a53726484
phases: line.strip().split() == line.split()
mercurial/phases.py
--- a/mercurial/phases.py	Sun May 06 14:36:42 2012 +0200
+++ b/mercurial/phases.py	Fri May 04 15:24:00 2012 +0200
@@ -113,7 +113,7 @@
         f = repo.sopener('phaseroots')
         try:
             for line in f:
-                phase, nh = line.strip().split()
+                phase, nh = line.split()
                 roots[int(phase)].add(bin(nh))
         finally:
             f.close()