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

Re: how to get ancestry information

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-05-23 17:17:00 CEST

On May 23, 2006, at 14:19, Robert Hölzl wrote:

> I am checking out svn features at the moment. Apart from "merge
> tracking" (which can be easily done client side) it has nearly all
> features we need.
> But I miss the possibility to retrieve the "ancestor" of a URL.
> That means if I copy/move an url to another directory, i.e. trunk -
> > branch1, I need an attribute of branch1, which tells me that its
> ancestor is trunk. This information has to be available serverside,
> since the merge/diff command uses the information when using "--
> notice-ancestry".
> When calling "svn info" I do not get this information.

Try this:

svn log -v -r 0:HEAD --stop-on-copy <branch_url> --limit 1

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 23 17:20:41 2006

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.