Mercurial > hg
annotate mercurial/templates/rss/branchentry.tmpl @ 42093:edbcf5b239f9
config: read configs from directories in lexicographical order
Mercurial currently reads the .rc files specified in HGRCPATH (and the
system-default paths) in directory order, which is unspecified. My
team at work maintains a set of .rc files. So far there has been no
overlap between them, so we had not noticed this behavior. However, we
would now like to release some common .rc files and then have another
one per plaform with platform-specific overrides. It would be nice if
we can determine the load order by choosing names carefully. This
patch enables that by loading the .rc files in lexicographical order.
Before this patch, the added test case would consistently say "30" on
my file system (whatever I have -- some Linux FS).
Differential Revision: https://phab.mercurial-scm.org/D6193
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 03 Apr 2019 16:03:41 -0700 |
parents | 9409aeaafdc1 |
children |
rev | line source |
---|---|
18045
add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff
changeset
|
1 <item> |
add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff
changeset
|
2 <title>{branch|escape}</title> |
18526
9409aeaafdc1
hgweb: urlescape all urls, HTML escape repo/tag/branch/... names
Thomas Arendsen Hein <thomas@intevation.de>
parents:
18045
diff
changeset
|
3 <link>{urlbase}{url|urlescape}rev/{node|short}</link> |
18045
add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff
changeset
|
4 <description><![CDATA[{branch|strip|escape|addbreaks}]]></description> |
add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff
changeset
|
5 <pubDate>{date|rfc822date}</pubDate> |
add2f9ddcfb5
hgweb: add branches RSS and Atom feeds
Angel Ezquerra <angel.ezquerra@gmail.com>
parents:
diff
changeset
|
6 </item> |