summaryrefslogtreecommitdiff
path: root/doc/patchqueue/mercurial_fail_to_add.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-19 17:10:37 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-04-19 17:10:37 +0000
commitfc149fc57c886eef57ebbc02cd15d2e01fdc5c92 (patch)
tree8b2d9536bdda00b22104b75803949a00e958bc32 /doc/patchqueue/mercurial_fail_to_add.mdwn
parentb6e19e179a41b0428d34528f410dbb5d5e561076 (diff)
web commit by hb: bad formatting
Diffstat (limited to 'doc/patchqueue/mercurial_fail_to_add.mdwn')
-rw-r--r--doc/patchqueue/mercurial_fail_to_add.mdwn24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/patchqueue/mercurial_fail_to_add.mdwn b/doc/patchqueue/mercurial_fail_to_add.mdwn
index 775acaaaa..86ee6ab15 100644
--- a/doc/patchqueue/mercurial_fail_to_add.mdwn
+++ b/doc/patchqueue/mercurial_fail_to_add.mdwn
@@ -2,17 +2,17 @@ I don't know what's wrong but I can't add a file with the mercurial backend (the
Here is a patch that's seems to work, although I'm not quite sure what's wrong with current code :
- hbernard@tactic:/usr/share/perl5/IkiWiki/Rcs$ diff mercurial.pm /home/hbernard/mercurial.pm -Nau
- --- mercurial.pm 2007-03-24 16:14:35.000000000 +0100
- +++ /home/hbernard/mercurial.pm 2007-04-19 19:05:47.000000000 +0200
- @@ -95,7 +95,7 @@
- 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: $!";
- }
+ hbernard@tactic:/usr/share/perl5/IkiWiki/Rcs$ diff mercurial.pm /home/hbernard/mercurial.pm -Nau
+ --- mercurial.pm 2007-03-24 16:14:35.000000000 +0100
+ +++ /home/hbernard/mercurial.pm 2007-04-19 19:05:47.000000000 +0200
+ @@ -95,7 +95,7 @@
+ 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: $!";
+ }
My srcdir path has some symbolics links and hidden directorys... maybe that's it ?