[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

--xml on all svn commands

From: Gregg Tavares <gmansvn_at_greggman.com>
Date: 2005-09-27 17:42:55 CEST

Please excuse me if I'm breaking any kind of protocol. This is my first
attempt at contributing.
 
currently the --xml flag seems to only work on "svn list"
 
Are there already plans to add it to all the other commands? Or, if not,
does anyone mind if I add it and send in the patches?
 
For exmaple, I'm using "svn lock <file>". If the file is locked it returns
something like
 
'file:folder\file.c' is already checked out by user 'gregg' in
'http://svn.domain.com/project/folder/file.c'
 
Unfortunately
 
1) all that changes if you are not running in English Windows so you can't
parse by word
2) filenames can have single quotes in them so trying to parse by single
quotes won't work either.
 
Other commands have similar problems
 
"svn status -u -v <file>"
 
The first 6 characters are specified in but after that things are only
separated by space according to the docs. So, if your filename has a space
in it so much for trying to parse that output.
 
Anyway, it seems like a couple of hours work to add the --xml option to all
the commands if there isn't already plans. Is this a contribution I can
make?
 
-gregg tavares
Received on Tue Sep 27 18:09:21 2005

This is an archived mail posted to the Subversion Dev mailing list.