From 6173c5b551055d0903cd8682456cd598a0661c2b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 12 Nov 2010 10:37:27 +0200 Subject: [PATCH] Expand and clarify the description of bugtracker setting for bzr. --- admin/notes/bugtracker | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/admin/notes/bugtracker b/admin/notes/bugtracker index e22a8e5947e..a44481ebedf 100644 --- a/admin/notes/bugtracker +++ b/admin/notes/bugtracker @@ -450,10 +450,33 @@ http://lists.gnu.org/archive/html/emacs-devel/2009-11/msg00440.html ** Bazaar stuff *** You can use `bzr commit --fixes debbugs:123' to mark that a commit fixes -Emacs bug 123. You will first need to add a line to your bazaar.conf: +Emacs bug 123. You will first need to add a line to your ~/bazaar.conf +or ~/locations.conf: bugtracker_debbugs_url = http://debbugs.gnu.org/{id} +Here "{id}" is a literal string, a placeholder that will be replaced +by the bug number you specify after `--fixes debbugs:' in the bzr +command line (123 in the example above). + +In the bazaar.conf file, this setting should go into the [DEFAULTS] +section. + +In the locations.conf file, it should go into the branch-specific +configuration section for the branch where you want this to be in +effect. For example, if you want this to be in effect for the branch +located at `/home/projects/emacs/trunk', you need to have this in your +~/locations.conf file: + +[/home/projects/emacs/trunk] +bugtracker_debbugs_url = http://debbugs.gnu.org/{id} + +If you want to use this in all Emacs branches whose common parent is +`/home/projects/emacs', put the setting in the [/home/projects/emacs] +section. See "bzr help configuration" for more information about +the *.conf files, their location and formats. See "bzr help bugs" for +more information about the bugtracker_debbugs_url setting. + See also log-edit-rewrite-fixes in .dir-locals.el. Note that all this does is add some metadata to the commit, it doesn't -- 2.39.2