summaryrefslogtreecommitdiff
path: root/IkiWiki/Rcs
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-29 03:25:09 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-29 03:25:09 +0000
commit5c36a5cfc675ca4282c0a03ee444c43dea537fa9 (patch)
treefaeb6824939206186f1986caea67cd15b12a2f08 /IkiWiki/Rcs
parenta1d9abab8c1542d546c34fa03447d1f6456ba813 (diff)
* Apply patch from hb that uses the full path to a file when adding a file
using the mercurial backend. Not 100% sure why it failed w/o the full path, but this still passes the test suite, and indeed, is how the test suite calls hg add.
Diffstat (limited to 'IkiWiki/Rcs')
-rw-r--r--IkiWiki/Rcs/mercurial.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Rcs/mercurial.pm b/IkiWiki/Rcs/mercurial.pm
index 2e15085ec..3a75b40c5 100644
--- a/IkiWiki/Rcs/mercurial.pm
+++ b/IkiWiki/Rcs/mercurial.pm
@@ -95,7 +95,7 @@ sub rcs_commit ($$$;$$) { #{{{
sub rcs_add ($) { # {{{
my ($file) = @_;
- my @cmdline = ("hg", "-q", "-R", "$config{srcdir}", "add", "$file");
+ my @cmdline = ("hg", "-q", "-R", "$config{srcdir}", "add", "$config{srcdir}/$file");
if (system(@cmdline) != 0) {
warn "'@cmdline' failed: $!";
}