equal
deleted
inserted
replaced
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']: |