mercurial/subrepo.py
changeset 13160 07d08c130892
parent 13155 f02d7a562a21
child 13172 84cec5895d01
equal deleted inserted replaced
13159:3172da69ff37 13160:07d08c130892
    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):