Show More
@@ -2811,7 +2811,7 b' def revert(ui, repo, ctx, parents, *pats' | |||||
2811 |
|
2811 | |||
2812 | wctx = repo[None] |
|
2812 | wctx = repo[None] | |
2813 | m = scmutil.match(wctx, pats, opts) |
|
2813 | m = scmutil.match(wctx, pats, opts) | |
2814 |
if not m.always() |
|
2814 | if not m.always(): | |
2815 | m.bad = lambda x, y: False |
|
2815 | m.bad = lambda x, y: False | |
2816 | for abs in repo.walk(m): |
|
2816 | for abs in repo.walk(m): | |
2817 | names[abs] = m.rel(abs), m.exact(abs) |
|
2817 | names[abs] = m.rel(abs), m.exact(abs) | |
@@ -2840,7 +2840,7 b' def revert(ui, repo, ctx, parents, *pats' | |||||
2840 | changes = repo.status(node1=node, match=m, |
|
2840 | changes = repo.status(node1=node, match=m, | |
2841 | unknown=True, ignored=True, clean=True) |
|
2841 | unknown=True, ignored=True, clean=True) | |
2842 | else: |
|
2842 | else: | |
2843 | changes = repo.status(match=m) |
|
2843 | changes = repo.status(node1=node, match=m) | |
2844 | for kind in changes: |
|
2844 | for kind in changes: | |
2845 | for abs in kind: |
|
2845 | for abs in kind: | |
2846 | names[abs] = m.rel(abs), m.exact(abs) |
|
2846 | names[abs] = m.rel(abs), m.exact(abs) |
General Comments 0
You need to be logged in to leave comments.
Login now