From af3367eb4e3cc1d939d29eb6568758d56037e0e7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 8 Apr 2008 09:49:37 -0400 Subject: [PATCH] web commit by cjb: Trivial syntax bug. --- doc/bugs/bzr-update-syntax-error.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/bugs/bzr-update-syntax-error.mdwn diff --git a/doc/bugs/bzr-update-syntax-error.mdwn b/doc/bugs/bzr-update-syntax-error.mdwn new file mode 100644 index 000000000..8ae609838 --- /dev/null +++ b/doc/bugs/bzr-update-syntax-error.mdwn @@ -0,0 +1,9 @@ +On [Line #46 of the `bzr` plugin](http://git.ikiwiki.info/?p=ikiwiki;a=blob;f=IkiWiki/Rcs/bzr.pm;h=526036bf36e0ce5ec6fab47cb8a46991d2ebe0b2;hb=HEAD#l46) there's a mistalke. Instead of: + + my @cmdline = ("bzr", $config{srcdir}, "update"); + +It should be: + + my @cmdline = ("bzr", "update", $config{srcdir}); + +The former produces errors such as "_bzr: ERROR: unknown command "/home/user/ikiwiki/posts_", "_'bzr /home/user/ikiwiki/posts update' failed: Inappropriate ioctl for device at /usr/share/perl5/IkiWiki/Rcs/bzr.pm line 48._". -- 2.26.2