Manage ODF files in SubVersioN
- it allows you to use all features of a version control system: all changes are archived along with change notes, making it possible to roll back to previous versions, see who made what changes and why, etc.
- it makes it possible to have multiple people sharing their changes to a document through a shared repository. That means that you can always see all changes from all editors, update your version to the latest revision and submit your changes. No matter where you are, with or without access to your email, you will always be able to share your work.
For now this can be done through the odfsvn command line tool. In the (near) future this will also be possible through a plugin for OpenOffice.org.
Suppose you are working on a proposal with a group of people. The proposal is stored in a file called proposal.odt which you have just created. The first thing that you need to do is import this file into an existing repository:
$ odfsvn import -m "Simplon proposal for odf RFP" proposal.odt \ http://code.simplon.biz/proposals/odf.odt Commited revision 22
This will have added your file to the repository. The -m parameter was used to set the commit message for this change.
You can now use the info command to check the repository information inside your file:
$ odfsvn info proposal.odt Path: proposal.odt Type: svn URL: http://code.simplon.biz/proposals/odf.odt Repository UUID: 1a87ecf8-a9bc-47a4-9dc9-5f45153203cc Revision: 22
If one of your co-editors wants to work on this proposal he must first retrieve the document using the checkout command:
$ odfsvn checkout http://code.simplon.biz/proposals/odf.odt Checked out revision 22
He can now edit the odf.odt file using his normal editors. After making any changes he can commit them using the commit command:
$ odfsvn commit -m "Added estimates and initial planning" odf.odt Changes committed.
You can now update your local copy using the update command:
$ odfsvn update proposal.dt Updated to revision 23
After installing those requirements you can install odfsvn using the easy_install command:
This will install the odfsvn command and the associated python package. If you are using a UNIX shell you may need to refresh the command cache from your shell after doing this (hash -r or rehash generally).
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|odfsvn-1.0a1-py2.4.egg (27.1 kB) Copy SHA256 hash SHA256||Egg||2.4|
|odfsvn-1.0a1.tar.gz (2.7 MB) Copy SHA256 hash SHA256||Source||None|