From: Joey Hess Date: Tue, 8 Apr 2008 13:49:37 +0000 (-0400) Subject: web commit by cjb: Trivial syntax bug. X-Git-Tag: 2.42~26^2 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/af3367eb4e3cc1d939d29eb6568758d56037e0e7 web commit by cjb: Trivial syntax bug. --- 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._".