]> sipb.mit.edu Git - ikiwiki.git/commitdiff
bugs with po and git plugins
authorAlexandreDupas <AlexandreDupas@web>
Wed, 19 Aug 2009 16:33:09 +0000 (12:33 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 19 Aug 2009 16:33:09 +0000 (12:33 -0400)
doc/bugs/po_plugin_cannot_add_po_files_into_git.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/po_plugin_cannot_add_po_files_into_git.mdwn b/doc/bugs/po_plugin_cannot_add_po_files_into_git.mdwn
new file mode 100644 (file)
index 0000000..f874570
--- /dev/null
@@ -0,0 +1,7 @@
+po files are not added to git (error: /path/to/po/file not in repository tree) in my setup.
+
+I have set absolute path for srcdir = '/path/to/repo/doc/'. The root of my git repository is '/path/to/repo/'. When I enable the po plugin, it creates all po files and produces an error when it try to add the file saying that the /path/to/repo/doc/index.fr.po is not in the repository tree.
+
+I have no problem when I use an relative path like srcdir = '.'.
+
+I have an other issue with the po plugin when I set the srcdir to './doc/' (provided that my config file is in /path/to/repo). In this case the po plugin try to add 'doc/doc/index.fr.po' which does not exists (seems like the srcdir path is prepended twice).