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

Re: question: revert to this revision behavior

From: Jon Daley <jon_at_limedaley.com>
Date: 2007-03-29 22:33:04 CEST

On Thu, 29 Mar 2007, Tobias Schäfer wrote:
> This will get pretty complicated if the working copy is in a state of mixed
> revisions. I don't think the effort to implement all corner cases is worth
> it.
         True, and fair enough.

> I've added a sentence, so that it is clear that the changes are merged and
> that the modifications are only in the working copy:
>
> Do you really want to revert all changes in $filename and go back to this
> revision? These changes will be merged into your working copy.
         Thanks.

>> If you have selected a revision greater than or equal to the current
>> revision it should say, "this isn't going to do what you think it should,
>> press cancel". :) Or, at least I can't think of how I would use it.
>>
>> If you select an earlier revision... hrm. Does it really do HEAD:XXX?
>> Maybe subversion is smart enough to merge it correctly if I have revision
>> 3 locally, and I ask it to do a merge -r5:1, does it ignore changes 4 and
>> 5, since it knows that I don't need them? I guess it must.
>
> I haven't checked it, but I tend to agree. Anyway, this would need to be
> done by the subversion libraries and not by TortoiseSVN. Could you check
> this and then contact the subversion list directly?
         It appears to do the correct thing (ie. nothing with the greater
revision numbers), with some rudimentary tests.

>> And the same sentence should/could be added to the other revert command
>> as well.
>
> Done in the same revision.
         Thanks again. Keep up the good work.

I got the first (I'm sure there will be more) comment from my boss today

"I find myself dreading having to go back to modify stuff in our old
PVCS projects, subversion *is* really good."

We only moved the newer projects to subversion, since there aren't too
many edits left on the old projects - and due to a difference in how PVCS
Version Manager and Subversion treat svn:externals, it takes a bit of
effort to migrate.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Mar 29 22:50:30 2007

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

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