equal
deleted
inserted
replaced
42 |
42 |
43 rev = {} |
43 rev = {} |
44 if '.hgsubstate' in ctx: |
44 if '.hgsubstate' in ctx: |
45 try: |
45 try: |
46 for l in ctx['.hgsubstate'].data().splitlines(): |
46 for l in ctx['.hgsubstate'].data().splitlines(): |
|
47 l = l.lstrip() |
|
48 if not l: |
|
49 continue |
47 revision, path = l.split(" ", 1) |
50 revision, path = l.split(" ", 1) |
48 rev[path] = revision |
51 rev[path] = revision |
49 except IOError, err: |
52 except IOError, err: |
50 if err.errno != errno.ENOENT: |
53 if err.errno != errno.ENOENT: |
51 raise |
54 raise |