Hi everybody,
I use Subversion 1.3.1 on a Solaris server.
When I do svn log --verbose, I might obtain something like this:
------------------------------------------------------------------------
r10 | shqybn | 2006-04-25 13:16:05 -0400 (Tue, 25 Apr 2006) | 1 line
Changed paths:
A /trunk/plsql (from /trunk/sql:2)
R /trunk/plsql/svnt_fnb_fonction.fnc (from
/trunk/sql/svnt_fnb_fonction.fnc:9)
D /trunk/plsql/svnt_jab_fonction.jav
A /trunk/plsql/svnt_jab_java.jav (from /trunk/sql/svnt_jab_java.jav:9)
A /trunk/plsql/svnt_pkb_package.pkb (from
/trunk/sql/svnt_pkb_package.pkb:9)
A /trunk/plsql/svnt_pkb_package.pks (from
/trunk/sql/svnt_pkb_package.pks:9)
A /trunk/plsql/svnt_prb_procedure.prc (from
/trunk/sql/svnt_prb_procedure.prc:9)
Revision 10
------------------------------------------------------------------------
It means that after the copy of a directory, Subversion reproduced in
the new directory all the file manipulations made in the original
directory since the revision of that directory. In that report, the
order of operations is very significative.
When I do svn log --verbose --xml, I might obtain something like this
for the same repos/revision:
<?xml version="1.0" encoding="utf-8"?>
<log>
<logentry
revision="10">
<author>shqybn</author>
<date>2006-04-25T17:16:05.237171Z</date>
<paths>
<path
copyfrom-path="/trunk/sql/svnt_fnb_fonction.fnc"
copyfrom-rev="9"
action="R">/trunk/plsql/svnt_fnb_fonction.fnc</path>
<path
action="D">/trunk/plsql/svnt_jab_fonction.jav</path>
<path
copyfrom-path="/trunk/sql/svnt_jab_java.jav"
copyfrom-rev="9"
action="A">/trunk/plsql/svnt_jab_java.jav</path>
<path
copyfrom-path="/trunk/sql/svnt_prb_procedure.prc"
copyfrom-rev="9"
action="A">/trunk/plsql/svnt_prb_procedure.prc</path>
<path
copyfrom-path="/trunk/sql/svnt_pkb_package.pkb"
copyfrom-rev="9"
action="A">/trunk/plsql/svnt_pkb_package.pkb</path>
<path
copyfrom-path="/trunk/sql/svnt_pkb_package.pks"
copyfrom-rev="9"
action="A">/trunk/plsql/svnt_pkb_package.pks</path>
<path
copyfrom-path="/trunk/sql"
copyfrom-rev="2"
action="A">/trunk/plsql</path>
</paths>
<msg>Revision 10</msg>
</logentry>
</log>
As you see, the order of operations (paths) is not the same and not
very comprehensive. I would like the sequence of paths be the same as
svn log without the --xml flag. It's important for me when I try to
reproduce in a SQL database all the operations made on a repository.
With the XML output as it is now, it's not possible.
That situation might be a bug or an oversight of the way someone might
use the XML output. If necessary, I will forward this message to the
dev list.
Thank you.
« Le présent courriel peut contenir des renseignements confidentiels et ne s'adresse qu'au destinataire dont le nom apparaît ci-dessus. Si ce courriel vous est parvenu par mégarde, veuillez le supprimer et nous en aviser aussitôt. Merci. »
Received on Tue Apr 25 19:50:08 2006