Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to get all possible tags/values for "svn status --xml"?

Tags:

xml

svn

status

svn status --xml prints all files status and it's more much useful than parsing svn status output.

  1. Is there a list of all possible tags/sections in XML file and their values? I can read SVN sources but its time consuming and a dirty method.

  2. Is it possible to find clean map from svn status --xml values to svn status status characters also?

like image 565
Denis Barmenkov Avatar asked Oct 21 '10 05:10

Denis Barmenkov


2 Answers

I've found Schema file for status command so its a fast answer.

File placed in SVN source tree there:

subversion/svn/schema/status.rnc 
like image 115
Denis Barmenkov Avatar answered Oct 26 '22 19:10

Denis Barmenkov


It is available here:

http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/schema/status.rnc?view=markup

The list for the current trunk of SVN is:

  • added
  • conflicted
  • deleted
  • external
  • ignored
  • incomplete
  • merged
  • missing
  • modified
  • none
  • normal
  • obstructed
  • replaced
  • unversioned
like image 28
Abhi Beckert Avatar answered Oct 26 '22 21:10

Abhi Beckert