Bug 3329 - Configurable default commit message for tag
Summary: Configurable default commit message for tag
Status: RESOLVED WONTFIX
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: unspecified
Hardware: All All
: wish feature
Assignee: Bugzilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-22 03:21 UTC by gidyn
Modified: 2012-05-13 05:03 UTC (History)
4 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gidyn 2012-03-22 03:21 UTC
The default commit message for tag is hard-coded. If it was configurable, we
wouldn't have to -e or -m every tag operation (or create a command alias) to
use a different template.
Comment 1 kiilerix 2012-03-22 04:12 UTC
Mercurial do in general have sane defaults and do not have knobs for
customizing them. Mercurial will thus in most cases behave the same way on
all installations. We like that.

Why can you not just use an alias or wrapper script as recommended on the
mailing list?

Why do you want to customize the tag message in the first place?
Comment 2 gidyn 2012-03-22 04:22 UTC
The default message doesn't suit my style. More significantly, non-English
speaking organisations may want a default commit message in their local
language.

Hard-coding such strings has been considered bad practice since before many
hg users were born.
Comment 3 Matt Mackall 2012-03-22 06:58 UTC
Won't fix, closing.

This feature doesn't quite cross the usefulness threshold. It's just as easy
to apply one of the existing work-arounds as it would be to configure a new
config options, and only one person in 7 years seems to care.
Comment 4 Bugzilla 2012-05-12 09:29 UTC

--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:29 EDT  ---

This bug was previously known as _bug_ 3328 at http://mercurial.selenic.com/bts/issue3328