Show More
@@ -249,9 +249,8 b' def fix(ui, repo, *pats, **opts):' | |||||
249 | override this default behavior, though it is not usually desirable to do so. |
|
249 | override this default behavior, though it is not usually desirable to do so. | |
250 | """ |
|
250 | """ | |
251 | opts = pycompat.byteskwargs(opts) |
|
251 | opts = pycompat.byteskwargs(opts) | |
|
252 | cmdutil.check_at_most_one_arg(opts, b'all', b'rev') | |||
252 | if opts[b'all']: |
|
253 | if opts[b'all']: | |
253 | if opts[b'rev']: |
|
|||
254 | raise error.Abort(_(b'cannot specify both "--rev" and "--all"')) |
|
|||
255 | opts[b'rev'] = [b'not public() and not obsolete()'] |
|
254 | opts[b'rev'] = [b'not public() and not obsolete()'] | |
256 | opts[b'working_dir'] = True |
|
255 | opts[b'working_dir'] = True | |
257 | with repo.wlock(), repo.lock(), repo.transaction(b'fix'): |
|
256 | with repo.wlock(), repo.lock(), repo.transaction(b'fix'): |
General Comments 0
You need to be logged in to leave comments.
Login now