From 05ab74e78a2b832489fef5488afcc5ee914396f4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 22 Nov 2012 23:58:19 -0500 Subject: [PATCH] Fix submitted by dmlm for generated Mercrial URLs. The constructed mercurial url is wrong - it creates urls like "repo/rev3456fg", which just get redirected to the default log, rather than the commit. The url should be "repo/rev/3456fg". --- irkerhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irkerhook.py b/irkerhook.py index a60084e..6a46622 100755 --- a/irkerhook.py +++ b/irkerhook.py @@ -349,7 +349,7 @@ class HgExtractor(GenericExtractor): ui.config('web', 'baseurl') or '') if self.urlprefix: # self.commit is appended to this by do_overrides - self.urlprefix = self.urlprefix.rstrip('/') + '/rev' + self.urlprefix = self.urlprefix.rstrip('/') + '/rev/' self.cialike = ui.config('irker', 'cialike') self.filtercmd = ui.config('irker', 'filtercmd') if not self.project: -- 2.26.2