Show More
@@ -706,7 +706,8 b' def _dobackout(ui, repo, node=None, rev=' | |||||
706 |
|
706 | |||
707 | def commitfunc(ui, repo, message, match, opts): |
|
707 | def commitfunc(ui, repo, message, match, opts): | |
708 | editform = 'backout' |
|
708 | editform = 'backout' | |
709 |
e = cmdutil.getcommiteditor(editform=editform, |
|
709 | e = cmdutil.getcommiteditor(editform=editform, | |
|
710 | **pycompat.strkwargs(opts)) | |||
710 | if not message: |
|
711 | if not message: | |
711 | # we don't translate commit messages |
|
712 | # we don't translate commit messages | |
712 | message = "Backed out changeset %s" % short(node) |
|
713 | message = "Backed out changeset %s" % short(node) | |
@@ -2240,7 +2241,8 b' def _dograft(ui, repo, *revs, **opts):' | |||||
2240 | if not opts.get('date') and opts.get('currentdate'): |
|
2241 | if not opts.get('date') and opts.get('currentdate'): | |
2241 | opts['date'] = "%d %d" % util.makedate() |
|
2242 | opts['date'] = "%d %d" % util.makedate() | |
2242 |
|
2243 | |||
2243 |
editor = cmdutil.getcommiteditor(editform='graft', |
|
2244 | editor = cmdutil.getcommiteditor(editform='graft', | |
|
2245 | **pycompat.strkwargs(opts)) | |||
2244 |
|
2246 | |||
2245 | cont = False |
|
2247 | cont = False | |
2246 | if opts.get('continue'): |
|
2248 | if opts.get('continue'): | |
@@ -5216,7 +5218,8 b' def tag(ui, repo, name1, *names, **opts)' | |||||
5216 | editform = 'tag.remove' |
|
5218 | editform = 'tag.remove' | |
5217 | else: |
|
5219 | else: | |
5218 | editform = 'tag.add' |
|
5220 | editform = 'tag.add' | |
5219 |
editor = cmdutil.getcommiteditor(editform=editform, |
|
5221 | editor = cmdutil.getcommiteditor(editform=editform, | |
|
5222 | **pycompat.strkwargs(opts)) | |||
5220 |
|
5223 | |||
5221 | # don't allow tagging the null rev |
|
5224 | # don't allow tagging the null rev | |
5222 | if (not opts.get('remove') and |
|
5225 | if (not opts.get('remove') and |
General Comments 0
You need to be logged in to leave comments.
Login now