##// END OF EJS Templates
fix: only check for obsolete commits in the --rev case...
Martin von Zweigbergk -
r46412:09914d93 default
parent child Browse files
Show More
@@ -427,8 +427,8 b' def getrevstofix(ui, repo, opts):'
427 427 revs = set(scmutil.revrange(repo, opts[b'rev']))
428 428 if opts.get(b'working_dir'):
429 429 revs.add(wdirrev)
430 for rev in revs:
431 checkfixablectx(ui, repo, repo[rev])
430 for rev in revs:
431 checkfixablectx(ui, repo, repo[rev])
432 432 # Allow fixing only wdir() even if there's an unfinished operation
433 433 if not (len(revs) == 1 and wdirrev in revs):
434 434 cmdutil.checkunfinished(repo)
General Comments 0
You need to be logged in to leave comments. Login now