]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
web commit by cjb: Trivial syntax bug.
authorJoey Hess <joey@kitenet.net>
Tue, 8 Apr 2008 13:49:37 +0000 (09:49 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 8 Apr 2008 13:49:37 +0000 (09:49 -0400)
doc/bugs/bzr-update-syntax-error.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/bzr-update-syntax-error.mdwn b/doc/bugs/bzr-update-syntax-error.mdwn
new file mode 100644 (file)
index 0000000..8ae6098
--- /dev/null
@@ -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._".