##// END OF EJS Templates
py3: handle opts correctly for rollback...
Pulkit Goyal -
r32146:e807c373 default
parent child Browse files
Show More
@@ -4618,8 +4618,8 b' def rollback(ui, repo, **opts):'
4618 if not ui.configbool('ui', 'rollback', True):
4618 if not ui.configbool('ui', 'rollback', True):
4619 raise error.Abort(_('rollback is disabled because it is unsafe'),
4619 raise error.Abort(_('rollback is disabled because it is unsafe'),
4620 hint=('see `hg help -v rollback` for information'))
4620 hint=('see `hg help -v rollback` for information'))
4621 return repo.rollback(dryrun=opts.get('dry_run'),
4621 return repo.rollback(dryrun=opts.get(r'dry_run'),
4622 force=opts.get('force'))
4622 force=opts.get(r'force'))
4623
4623
4624 @command('root', [])
4624 @command('root', [])
4625 def root(ui, repo):
4625 def root(ui, repo):
General Comments 0
You need to be logged in to leave comments. Login now