I installed odfsvn and imported an odt into my repository. The info command didn't seem to work, and when I try to check out the document it dies.
jonathan@helios:~$ easy_install odfsvn
jonathan@helios:~$ odfsvn import system_manual.odt http://clecol.net/cs48x/doc/system_manual.odt
jonathan@helios:~$ svn up -q cs48x/doc/
jonathan@helios:~$ ls cs48x/doc/system_manual.odt -d
cs48x/doc/system_manual.odt/
jonathan@helios:~$ odfsvn info system_manual.odt
'system_manual.odt' has no repository information
jonathan@helios:~$ rm system_manual.odt
jonathan@helios:~$ odfsvn checkout http://clecol.net/cs48x/doc/system_manual.odt
Traceback (most recent call last):
File "/usr/bin/odfsvn", line 8, in <module>
load_entry_point('odfsvn==1.0a1', 'console_scripts', 'odfsvn')()
File "build/bdist.linux-i686/egg/odfsvn/scripts/main.py", line 184, in main
File "build/bdist.linux-i686/egg/odfsvn/scripts/main.py", line 85, in ActionCheckout
File "build/bdist.linux-i686/egg/odfsvn/utils.py", line 106, in wrapper
File "build/bdist.linux-i686/egg/odfsvn/svn.py", line 97, in retrieve
File "build/bdist.linux-i686/egg/odfsvn/package.py", line 335, in __setitem__
NameError: global name 'path' is not defined
Thanks! I'm really excited about decent version control for OOo docs!
At line 335 in package.py
self.zip=zipfile.ZipFile(path, mode)
path should instead use self.path and self.mode. I've tested this locally and it works now.