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

Re: Getting HEAD revision number from a URL

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-11-01 04:15:52 CET

On Oct 29, 2004, at 4:26 AM, Michael Sperber wrote:

>
>>>>>> "Ben" == Ben Collins-Sussman <sussman@collab.net> writes:
>
> Ben> We call this the "last changed revision" of a path. In some
> sense,
> Ben> it's a bit like the 'latest version' of a file or dir.
>
> Ben> * 'svn info working-copy-path' shows this. Of course, be
> sure to
> Ben> 'svn up' first.
> Ben> * 'svn list --verbose URL' shows this also.
>
> What about if the file has been deleted and I want to to know the last
> revision in which it still existed? (Or the rev of the delete, for
> that matter.)
>

Run 'svn log -v' on the parent directory (or any of its parent
directories), and grep for the delete action.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 1 04:16:25 2004

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

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