Mercurial > hg
changeset 9752:a22cdd5e56b7
subrepo: more robust split for .hgsubstate parsing
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 07 Nov 2009 14:09:16 -0600 |
parents | f8ca4035a949 |
children | ffda19f351fa |
files | mercurial/subrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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: