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

Re: Finding out latest revision in a branch

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-05-11 13:34:05 CEST

On May 11, 2005, at 6:11 AM, Shridhar Daithankar wrote:

> Hi,
>
> How can I find out latest revision in the branch? I want to merge a
> feature
> branch in another SCM by hand.(Project requirements..)
>
> I can find the starting revision in the branch by using svn log
> --stop-on-copy. The latest modified revision is given by svn info.
>
> However I can not diff them directly because some of the intermediate
> revisions are from other branch and produce a huge diff. which is
> useless.
>
> INOW, how can I find the head of the branch?

The 'head' of all branches is simply the global HEAD revision, right?

You can use 'HEAD' as a revision number on the commandline. But if
you want to know the actual value of HEAD at this moment, a simple
'svn status -u' will show that on the last line it prints.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 11 13:54:40 2005

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.