Hi, Paul Hammant wrote: > If I expand on what you did, I can get the branch mapping like so: > svn log --verbose --stop-on-copy branchtwo/test.txt | grep " (from " > Gives: > > A /branchtwo (from /branchone:1)
You'll want... -r1:HEAD -l1 to limit to one log message and... > Close enough, but I fear it's not robust. add --xml for robustness. svn log ^/subversion/branches/1.9.x -r1:HEAD --stop-on-copy -l1 -v --xml <?xml version="1.0" encoding="UTF-8"?> <log> <logentry revision="1660545"> <author>brane</author> <date>2015-02-18T00:11:09.690992Z</date> <paths> <path prop-mods="true" text-mods="false" kind="dir" copyfrom-path="/subversion/trunk" copyfrom-rev="1660544" action="A">/subversion/branches/1.9.x</path> </paths> <msg>Create the 1.9.x release branch.</msg> </logentry> </log> Andreas