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

Re: Rolling revisions forwards and backwards, very stuck!

From: Pete Hurst <pete.hurst_at_gmail.com>
Date: Tue, 22 Apr 2008 18:10:22 +0100

> If you *must* use the working copy for this, then I think what you want to do instead is to merge up to that revision, instead of reverting to it.
>
> For example, if your HEAD is r1000, and you initially reverted to r500, if you now want r750, you would merge all the changes from r501:r750 into your working copy.

I had already tried this, just neglected to mention, but for unknown
reasons it didn't work at all. Various errors about missing targets,
conflicts, that sort of thing. (I've been moving/deleting a lot of
files in the repository which might not have helped).

> IMNECTHO though, It's going to be far easier to just check out the version you want to examine, in a sort of binary search algorithm, test it, and throw it away when you are done.

It's a large project and takes a fair while to check out. That's a lot
of waiting around when I have a range of ~200 revisions in which to
pinpoint this error!

> When a version exhibits the problem, and the next version doesn't, you've found the problem revision.

Really, I was aware of that already ;)

As mentioned in my second message, I found the TortoiseSVN->Update to
Revision did what I wanted, and was very quick. I just needed to start
with a clean copy, then Update to Revision would roll both *backwards
and forwards* to where I wanted (changing only the files it needed, as
you'd expect). Guess it just seemed a little counter-intuitive to use
an Update command to *roll back* ... which is why I didn't try
initially.

Anyways, thanks for your extremely quick response ... and I've tracked
down the issue now. Amusingly, my commit comment for the problem
revision begins: "Mostly IE6 compatibility". That'll teach me to make
changes *without actually testing them*...

Pete Hurst

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-04-22 19:10:36 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.