Download:
child 20:b83b3319ff6b
parent 18:674e48fa93db
19:cee789a8154e draft
Anton Shestakov <av6@dwimlabs.net>, Wed, 21 Nov 2018 00:22:32 +0800
plugin: rename changeLog

1 файлов изменено, 3 вставок(+), 3 удалений(-) [+]
plugin.py file | annotate | diff | comparison | revisions
--- a/plugin.py Fri Nov 09 15:21:44 2018 +0800
+++ b/plugin.py Wed Nov 21 00:22:32 2018 +0800
@@ -152,7 +152,7 @@
hghelp = wrap(hghelp, ['text'])
- def changeLog(self, repo, rev):
+ def changelog(self, repo, rev):
tmpl = '{rev}:{node|short}\n{date|age}\n{author|person}\n{files}\n{desc}'
cmd = "-R %s log -v --limit 1 --template '%s' -r %s" \
% (repo, tmpl, rev)
@@ -175,13 +175,13 @@
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/mirror/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/hg/repos/hg', rev)
+ cl = self.changelog('/home/hg/repos/hg', rev)
irc.replies(cl)
main = wrap(main, ['revision'])