Svn log -v output

I just won if the output of the svn log -v command is always the same. For me it looks like this:

------------------------------------------------------------------------
r2 | username | 2011-01-16 16:52:23 +0100 (Sun, 16 Jan 2011) | 1 line
Changed paths:
   D /foo
Removed foo
------------------------------------------------------------------------
r1 | balzarot | 2011-01-16 16:51:03 +0100 (Sun, 16 Jan 2011) | 1 line
Changed paths:
   A /foo
created foo
------------------------------------------------------------------------

but I don’t know if this is always the case, especially the date format! Could you help me thnx

+3
source share
2 answers

If you programmatically parse the output of commands svn, you probably want to use the switch --xml:

svn log --xml

When using this format, the date (in particular) complies with the ISO 8601 standard:

<date>2010-12-06T20:58:35.698893Z</date>
+8
source

IIRC, , SVN, , , , . , , , .

0

Source: https://habr.com/ru/post/1786260/


All Articles