Download:
child 8:28e93659ea08
parent 6:3773fa2d0805
7:23ff70d977f7
Brendan Cully <brendan@kublai.com>, Thu, 22 Apr 2010 11:54:37 -0500
Fix URLs for mercurial.selenic.com bot, add help string to bts command

1 файлов изменено, 5 вставок(+), 2 удалений(-) [+]
plugin.py file | annotate | diff | comparison | revisions
--- a/plugin.py Sun Aug 09 12:27:55 2009 -0700
+++ b/plugin.py Thu Apr 22 11:54:37 2010 -0500
@@ -167,17 +167,20 @@
def crew(self, irc, msg, args, rev):
"gets the changelog message for the given revision of the crew repository"
- cl = self.changeLog('/home/brendan/hg/mercurial/crew', rev)
+ cl = self.changeLog('/home/brendan/hg/mirror/mercurial/crew', rev)
irc.replies(cl)
crew = wrap(crew, ['revision'])
def main(self, irc, msg, args, rev):
"gets the changelog message for the given revision of the crew repository"
- cl = self.changeLog('/home/brendan/hg/mercurial/main', rev)
+ cl = self.changeLog('/home/hg/repos/hg', rev)
irc.replies(cl)
main = wrap(main, ['revision'])
def bts(self, irc, msg, args, issue):
+ """usage: bts (url|<issueno>)
+ url gets the url of the bts, <issueno> summarizes that bug
+ """
url = 'http://mercurial.selenic.com/bts'
if issue == 'url':
irc.reply(url)