Download:
child 33:b0e492877263
parent 31:c3c5a64068a5
32:6f02219bf75b draft
Anton Shestakov <av6@dwimlabs.net>, Thu, 22 Nov 2018 15:43:56 +0800
plugin: add more repos

2 файлов изменено, 8 вставок(+), 0 удалений(-) [+]
config.py file | annotate | diff | comparison | revisions
plugin.py file | annotate | diff | comparison | revisions
--- a/config.py Thu Nov 22 15:30:13 2018 +0800
+++ b/config.py Thu Nov 22 15:43:56 2018 +0800
@@ -57,6 +57,12 @@
conf.registerGlobalValue(Mercurial.repos, 'hg-all',
registry.String('/home/hg/repos/hg-all',
"""Path to the hg-all repo."""))
+conf.registerGlobalValue(Mercurial.repos, 'hg-website',
+ registry.String('/home/hg/repos/hg-website',
+ """Path to the hg-website repo."""))
+conf.registerGlobalValue(Mercurial.repos, 'evolve',
+ registry.String('/home/hg/repos/evolve',
+ """Path to the evolve repo."""))
conf.registerGlobalValue(Mercurial, 'phaburl',
registry.String('https://phab.mercurial-scm.org',
--- a/plugin.py Thu Nov 22 15:30:13 2018 +0800
+++ b/plugin.py Thu Nov 22 15:43:56 2018 +0800
@@ -133,6 +133,8 @@
main = _changelogcmd('repos.hg')
hgcommitted = _changelogcmd('repos.hg-committed')
hgall = _changelogcmd('repos.hg-all')
+ hgwebsite = _changelogcmd('repos.hg-website')
+ evolve = _changelogcmd('repos.evolve')
def glossary(self, irc, msg, args, term):
"""<term>