equal
deleted
inserted
replaced
19 if '.hgsubstate' in ctx: |
19 if '.hgsubstate' in ctx: |
20 try: |
20 try: |
21 for l in ctx['.hgsubstate'].data().splitlines(): |
21 for l in ctx['.hgsubstate'].data().splitlines(): |
22 revision, path = l.split(" ", 1) |
22 revision, path = l.split(" ", 1) |
23 rev[path] = revision |
23 rev[path] = revision |
24 except IOError as err: |
24 except IOError, err: |
25 if err.errno != errno.ENOENT: |
25 if err.errno != errno.ENOENT: |
26 raise |
26 raise |
27 return rev |
27 return rev |
28 |
28 |
29 def state(ctx, ui): |
29 def state(ctx, ui): |