From 5c36a5cfc675ca4282c0a03ee444c43dea537fa9 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 29 Apr 2007 03:25:09 +0000 Subject: * 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. --- IkiWiki/Rcs/mercurial.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Rcs') 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: $!"; } -- cgit v1.2.3