Show More
@@ -2298,7 +2298,7 b' def revert(ui, repo, ctx, parents, *pats' | |||||
2298 |
|
2298 | |||
2299 | # Find status of all file in `names`. (Against working directory parent) |
|
2299 | # Find status of all file in `names`. (Against working directory parent) | |
2300 | m = scmutil.matchfiles(repo, names) |
|
2300 | m = scmutil.matchfiles(repo, names) | |
2301 | changes = repo.status(match=m)[:4] |
|
2301 | changes = repo.status(node1=parent, match=m)[:4] | |
2302 | modified, added, removed, deleted = map(set, changes) |
|
2302 | modified, added, removed, deleted = map(set, changes) | |
2303 |
|
2303 | |||
2304 | # if f is a rename, update `names` to also revert the source |
|
2304 | # if f is a rename, update `names` to also revert the source |
General Comments 0
You need to be logged in to leave comments.
Login now