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: