tests/test-resolve.t
changeset 26997 1791f9aa782f
parent 26969 b54b520a24c2
child 27010 f4fec0940278
equal deleted inserted replaced
26996:bf3eec62212f 26997:1791f9aa782f
    64   >   [('u', 'unmark', None, '')],
    64   >   [('u', 'unmark', None, '')],
    65   >   'FILE...')
    65   >   'FILE...')
    66   > def markdriver(ui, repo, *pats, **opts):
    66   > def markdriver(ui, repo, *pats, **opts):
    67   >     wlock = repo.wlock()
    67   >     wlock = repo.wlock()
    68   >     try:
    68   >     try:
    69   >         ms = merge.mergestate(repo)
    69   >         ms = merge.mergestate.read(repo)
    70   >         m = scmutil.match(repo[None], pats, opts)
    70   >         m = scmutil.match(repo[None], pats, opts)
    71   >         for f in ms:
    71   >         for f in ms:
    72   >             if not m(f):
    72   >             if not m(f):
    73   >                 continue
    73   >                 continue
    74   >             if not opts['unmark']:
    74   >             if not opts['unmark']: