##// END OF EJS Templates
subrepo: more robust split for .hgsubstate parsing
Matt Mackall -
r9752:a22cdd5e default
parent child Browse files
Show More
@@ -27,7 +27,7 def state(ctx):
27 if '.hgsubstate' in ctx:
27 if '.hgsubstate' in ctx:
28 try:
28 try:
29 for l in ctx['.hgsubstate'].data().splitlines():
29 for l in ctx['.hgsubstate'].data().splitlines():
30 revision, path = l.split()
30 revision, path = l.split(" ", 1)
31 rev[path] = revision
31 rev[path] = revision
32 except IOError, err:
32 except IOError, err:
33 if err.errno != errno.ENOENT:
33 if err.errno != errno.ENOENT:
General Comments 0
You need to be logged in to leave comments. Login now