You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Robert Hölzl <ro...@baltech.de> on 2006/05/23 12:19:17 UTC

how to get ancestry information

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: how to get ancestry information

Posted by Ryan Schmidt <su...@ryandesign.com>.
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