contrib/debian/cacerts.rc
author Martin von Zweigbergk <martinvonz@google.com>
Tue, 03 May 2016 09:49:54 -0700
changeset 29085 df838803c1d4
parent 26297 ccdc2b23fdb8
permissions -rw-r--r--
templater: add separate() template function A pretty common pattern in templates is adding conditional separators like so: {node}{if(bookmarks, " {bookmarks}")}{if(tags, " {tags}")} With this patch, the above can be simplified to: {separate(" ", node, bookmarks, tags)} The function is similar to the already existing join(), but with a few differences: * separate() skips empty arguments * join() expects a single list argument, while separate() expects each item as a separate argument * separate() takes the separator first in order to allow a variable number of arguments after it
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26297
ccdc2b23fdb8 debian: configuration so that cacerts is properly loaded
Augie Fackler <augie@google.com>
parents:
diff changeset
     1
# This config file points Mercurial at the system-wide certificate
ccdc2b23fdb8 debian: configuration so that cacerts is properly loaded
Augie Fackler <augie@google.com>
parents:
diff changeset
     2
# store from the ca-certificates package.
ccdc2b23fdb8 debian: configuration so that cacerts is properly loaded
Augie Fackler <augie@google.com>
parents:
diff changeset
     3
ccdc2b23fdb8 debian: configuration so that cacerts is properly loaded
Augie Fackler <augie@google.com>
parents:
diff changeset
     4
[web]
ccdc2b23fdb8 debian: configuration so that cacerts is properly loaded
Augie Fackler <augie@google.com>
parents:
diff changeset
     5
cacerts = /etc/ssl/certs/ca-certificates.crt