Show More
@@ -427,8 +427,8 b' def getrevstofix(ui, repo, opts):' | |||||
427 | revs = set(scmutil.revrange(repo, opts[b'rev'])) |
|
427 | revs = set(scmutil.revrange(repo, opts[b'rev'])) | |
428 | if opts.get(b'working_dir'): |
|
428 | if opts.get(b'working_dir'): | |
429 | revs.add(wdirrev) |
|
429 | revs.add(wdirrev) | |
430 | for rev in revs: |
|
430 | for rev in revs: | |
431 | checkfixablectx(ui, repo, repo[rev]) |
|
431 | checkfixablectx(ui, repo, repo[rev]) | |
432 | # Allow fixing only wdir() even if there's an unfinished operation |
|
432 | # Allow fixing only wdir() even if there's an unfinished operation | |
433 | if not (len(revs) == 1 and wdirrev in revs): |
|
433 | if not (len(revs) == 1 and wdirrev in revs): | |
434 | cmdutil.checkunfinished(repo) |
|
434 | cmdutil.checkunfinished(repo) |
General Comments 0
You need to be logged in to leave comments.
Login now