Gentoo Archives: gentoo-dev

From: Christoph Junghans <ottxor@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] RFC: change of the default value for EHG_REVISION (mercurial.eclass)
Date: Tue, 18 Dec 2012 21:11:34
Message-Id: CANgp9ky1HGa-q1ZsvwSE=tsLDkxnxKDzZ9jLXMQnYQXmfuQxEg@mail.gmail.com
1 With nelchael's retirement I (with backup from djc) will take over the
2 maintenance of mercurial.eclass. As one of the first things I would
3 like to change the default value of EHG_REVISION.
4
5 EHG_REVISION defines the revision/branch/tag to be checkout in src_unpack.
6 The current default is "tip", which identifies the most recent revision.
7 This can lead to unwanted branch changes (see
8 <https://bugs.gentoo.org/show_bug.cgi?id=380947#c16>) as the branch in
9 which tip resides is not fixed.
10 The new default should be "default", which is mercurial's default name
11 for the main branch.
12
13 Looking at the packages using mercurial.eclass
14 (<http://qa-reports.gentoo.org/output/eclass-usage/mercurial.txt>) the
15 above change shouldn't cause any problems (some packages already use
16 EHG_REVISION="default" to avoid branch changes), but I will wait
17 another week before committing the change.
18
19 --
20 Christoph Junghans
21 http://dev.gentoo.org/~ottxor/

Replies