# HG changeset patch # User Matt Mackall # Date 1257624556 21600 # Node ID a22cdd5e56b787aa4d4e853ed581e3b0d8c4dc03 # Parent f8ca4035a949e0215bc1bca71a0bcbe864cb6d5f subrepo: more robust split for .hgsubstate parsing diff -r f8ca4035a949 -r a22cdd5e56b7 mercurial/subrepo.py --- a/mercurial/subrepo.py Sat Nov 07 14:07:45 2009 -0600 +++ b/mercurial/subrepo.py Sat Nov 07 14:09:16 2009 -0600 @@ -27,7 +27,7 @@ if '.hgsubstate' in ctx: try: for l in ctx['.hgsubstate'].data().splitlines(): - revision, path = l.split() + revision, path = l.split(" ", 1) rev[path] = revision except IOError, err: if err.errno != errno.ENOENT: