summaryrefslogtreecommitdiff
path: root/IkiWiki/Rcs
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-29 02:16:45 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-29 02:16:45 +0000
commit67c6ff9b086d90b2dd777a722b26b05daa648479 (patch)
tree6939edd05fd96ea920e6b966af7518f0aec15c89 /IkiWiki/Rcs
parent5b8e1cc3698300ff2b19ba271e8221e700deee62 (diff)
* mercurial: Fix rcs_getctime (thanks, bma)
Diffstat (limited to 'IkiWiki/Rcs')
-rw-r--r--IkiWiki/Rcs/mercurial.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Rcs/mercurial.pm b/IkiWiki/Rcs/mercurial.pm
index 8a3329395..a892ee975 100644
--- a/IkiWiki/Rcs/mercurial.pm
+++ b/IkiWiki/Rcs/mercurial.pm
@@ -160,7 +160,8 @@ sub rcs_getctime ($) { #{{{
# XXX filename passes through the shell here, should try to avoid
# that just in case
- my @cmdline = ("hg", "-R", $config{srcdir}, "log", "-v", "-l", '1', $file);
+ my @cmdline = ("hg", "-R", $config{srcdir}, "log", "-v", "-l", '1',
+ "$config{srcdir}/$file");
open (my $out, "@cmdline |");
my @log = mercurial_log($out);