aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/bzr-update-syntax-error.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/bzr-update-syntax-error.mdwn')
-rw-r--r--doc/bugs/bzr-update-syntax-error.mdwn9
1 files changed, 9 insertions, 0 deletions
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._".