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

Re: Determining revision usisng a date

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-10-12 05:26:56 CEST

On Fri, Oct 11, 2002 at 07:39:14PM -0700, Daniel Rall wrote:
> I'm trying to merge some old code into a new WC. I tried passing the
> -D sub-argument to the diff command, but was greated with the
> following error message (I'm using a fairly old client):
>
> ra_dav does not currently support date-based operations.
>
> How do I determine which trunk revision corresponds to some code I
> made modifications to on July 31, 2002?

Nowadays, we would use 'svn info', but older clients might not have that.
And if you used a new client against your old WC, I'm not exactly sure what
would happen (I believe we're generally forward-compatible, but there have
been some "you must check out a new WC" points).

The secret mojo is to do:

$ cd working-copy-directory
$ fgrep revision= .svn/entries
   revision="3272"/>
$

That will tell you the revision of that directory, and usually, all of its
contents. Mixed revision working copies throws it all to hell, but I'm
guessing that you don't have that.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 12 05:25:31 2002

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.