[py-dev] svn st --xml support for py.path - progress
Guido Wesdorp
johnny at johnnydebris.net
Wed Jul 30 12:15:56 CEST 2008
Hi!
Yesterday I had some time to spare so decided to work on using the XML
output of svn st rather than the text to get py.path.svnwc.status()
reports. After some refactoring, adding some tests and battling the test
code a bit, I ended up with something that at least satisfies the tests
- they all work with the new code, using the old code as fallback if the
--xml switch gets refused.
I did this on a branch, as at first it seemed like I had to do a lot of
refactoring of the tests (which I ended up mostly rolling back). The URL
of this branch is:
https://codespeak.net/svn/py/branch/guido-svnwc-xml-status
Unfortunately I didn't find the time to test on any platform other than
Linux, using SVN v. 1.3. Therefore I think the code, in its current
status, shouldn't be merged into the next release branch, or at least
not without more testing (this also because I have the feeling a lot of
edge cases aren't covered in the tests). However, what is there should
be feature-complete...
If people feel like testing, I'd greatly appreciate it... If not, I'll
do it the first opportunity I have. I think the most important questions
now are if it works on Windows, and on SVN versions besides 1.3. If
that's done I think it can be merged into trunk and release branch.
Cheers,
Guido
More information about the py-dev
mailing list