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

Finding head of peg branch...

From: Reedick, Andrew <Andrew.Reedick_at_BellSouth.com>
Date: 2006-09-29 20:00:15 CEST

Is there a good way of finding the head revision of a peg branch?

I have the path and a revision number somewhere on the peg branch.
Since it's a peg branch, the following command
        svn log -r 123:HEAD svn://.../a/b/c_at_123
fails because svn://.../a.b.c doesn't exist in HEAD. If it wasn't a peg
branch, then the log command would have worked.

Currently I'm doing a binary search to find the branch head which is a
bit inefficient due to the multiple 'svn log' calls. (I have to jump
through a few hoops to get SWIG installed and Perl updated, so using the
API isn't the preferred solution.)

*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA621

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 29 20:01:13 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.