'hg tag' command - allow multiple tag names in one invocation?
John.Coomes at sun.com
Wed Dec 5 20:50:18 CST 2007
'hg tag' currently accepts a single tag name; I'd like to extend it to
allow multiple tag names for a changeset (something our project will
use periodically). Thus the usage line would become
hg tag [-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME ...
I think the code changes are straightforward (although I haven't made
them yet), but wanted to get some opinions up front.
I noticed there's code in commands.py to warn about syntax deprecated
in 0.7 (i.e., 'hg tag NAME REV'). That syntax conflicts with the
proposed format, so I'd also appreciate opinions on whether multiple
tag names should be enabled only if an additional option is used
(e.g., '-x' or '--extended'?).
More information about the Mercurial-devel