manual - svn --incremental: How to use it and what it does? -


i've been looking @ svn manuals unable find out simple usage examples or explanations of "--incremental" option "svn log" , "svn st".

i'm writing open-source svn gui front-end need basics usage of flag.

you can see noting of --incremental here: http://durak.org/sean/pubs/software/version-control-with-subversion-1.6/svn.ref.svn.c.status.html

but doesn't how use it.

it's documented in svn log , svn status:

--incremental : give output suitable concatenation

it means don't generate outermost elements in xml mode, i.e. rather than

<?xml version="1.0"?> <log> <logentry> ... </logentry> <logentry> ... </logentry> </log> 

which generates complete, well-formed xml document, generate

<logentry> ... </logentry> <logentry> ... </logentry> 

so can concatenate multiple svn log --xml --incremental -rx:y outputs together, i.e.

svn log --xml --incremental -r 1:1000 > log.xml 

and

svn log --xml --incremental -r   1:250  > log.xml svn log --xml --incremental -r 250:500  >> log.xml svn log --xml --incremental -r 500:750  >> log.xml svn log --xml --incremental -r 750:1000 >> log.xml 

will generate same output.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -