[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: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2002-10-14 18:08:07 CEST

Greg Stein <gstein@lyra.org> writes:

> 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?
>
> Oh... my previous email was based on having a working copy. If you don't
> have one, then you'll just need to do a binary search.
>
> $ cd some-working-copy
> $ svn log -r 2600
> oop. too early
> $ svn log -r 3000
> oop. too late
>
> Or without a working copy:
>
> $ svn log -r 2700 http://svn.collab.net/repos/svn/
> oop. too early
> ...
>
>
> You want something near rev 2820. Note that you can use -r2810:2830 and look
> at the logs.

I went with 2800, which was close enough for `patch`. The issue was
that the working copy I was using is checked into another repository
(e.g. not http://svn.collab.net/repos/svn/), so I was unable to divine
the http://svn.collab.net/repos/svn/ revision from my other copy's WC.

Taken care of now, thanks for the advice.

-- 
Daniel Rall <dlr@finemaltcoding.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 14 18:08:38 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.