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.
sub rcs_add ($) { # {{{
my ($file) = @_;
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: $!";
}
if (system(@cmdline) != 0) {
warn "'@cmdline' failed: $!";
}
* Updated Polish translation from Pawel Tecza.
* Updated Czech translation from Miroslav Kure.
* Updated Spanish translation from Victor Moral.
* Updated Polish translation from Pawel Tecza.
* Updated Czech translation from Miroslav Kure.
* Updated Spanish translation from Victor Moral.
+ * 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.
- -- Joey Hess <joeyh@debian.org> Sat, 28 Apr 2007 22:47:38 -0400
+ -- Joey Hess <joeyh@debian.org> Sat, 28 Apr 2007 23:51:35 -0400
ikiwiki (1.50) unstable; urgency=low
ikiwiki (1.50) unstable; urgency=low
}
My srcdir path has some symbolics links and hidden directorys... maybe that's it ?
}
My srcdir path has some symbolics links and hidden directorys... maybe that's it ?
+
+> Interesting, the mercurial test suite shows the add without the path
+> working ok. OTOH, it also continues to work if I apply your patch, so I
+> guess it's safe enough. It would be good to know why it's failing w/o the
+> path in your case. --[[Joey]]
+
+> As I applied the patch, I'm moving this out of the patchqueue to bugs and
+> marking it [[done]]. --[[Joey]]