##// END OF EJS Templates
tag: pass 'editform' argument to 'cmdutil.getcommiteditor'...
FUJIWARA Katsunori -
r22009:0bbe8ef9 default
parent child Browse files
Show More
@@ -5799,7 +5799,11 b' def tag(ui, repo, name1, *names, **opts)'
5799 if date:
5799 if date:
5800 date = util.parsedate(date)
5800 date = util.parsedate(date)
5801
5801
5802 editor = cmdutil.getcommiteditor(**opts)
5802 if opts.get('remove'):
5803 editform = 'tag.remove'
5804 else:
5805 editform = 'tag.add'
5806 editor = cmdutil.getcommiteditor(editform=editform, **opts)
5803
5807
5804 # don't allow tagging the null rev
5808 # don't allow tagging the null rev
5805 if (not opts.get('remove') and
5809 if (not opts.get('remove') and
General Comments 0
You need to be logged in to leave comments. Login now