[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Quickly showing branch ancestrally?

From: Andreas Stieger <Andreas.Stieger_at_gmx.de>
Date: Tue, 15 Sep 2015 11:54:25 +0200


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"?>
<msg>Create the 1.9.x release branch.</msg>

Received on 2015-09-15 11:54:29 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.