diff mercurial/phases.py @ 16588:72319bfd7966

phases: line.strip().split() == line.split()
author Martin Geisler <mg@aragost.com>
date Fri, 04 May 2012 15:24:00 +0200
parents 39d1f83eb05d
children 3f85cef66dcc
line wrap: on
line diff
--- 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()