Julian Foad wrote:
> As a next step I will propose XML formats for "status", "list" and "blame".
How about this format for "svn list --xml"?
~/src/subversion> svn list ~/tmp/sandbox/ --xml -r40 -v
<list>
<listentry
name="d"
committed-date="2003-09-22T21:38:51.707992Z"
last-author="julianfoad"
kind="dir"
revision="29"/>
<listentry
name="eol-test"
committed-date="2003-09-29T22:23:23.939789Z"
last-author="julianfoad"
kind="file"
size="7"
revision="35"/>
</list>
The preference for using attributes rather than elements, and some of the
names, were inspired by the .svn/entries file - not that that private format
should unduly influence how we present public XML output, but at least the use
of attributes seems appropriate here. The names are not necessarily the best
choices or even quite correct - I haven't yet checked whether "svn list" always
presents the last committed date rather than, say, the date of the working copy
file.
- Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 14 18:28:02 2005