mercurial/subrepo.py
branchstable
changeset 10457 4f38d03d4975
parent 10378 e1401c74572f
child 10510 f77f3383c666
--- a/mercurial/subrepo.py	Sat Feb 13 23:50:38 2010 -0600
+++ b/mercurial/subrepo.py	Tue Feb 09 18:32:57 2010 +0100
@@ -41,7 +41,7 @@
                 raise util.Abort(_('missing ] in subrepo source'))
             kind, src = src.split(']', 1)
             kind = kind[1:]
-        state[path] = (src, rev.get(path, ''), kind)
+        state[path] = (src.strip(), rev.get(path, ''), kind)
 
     return state