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

Re: Question about undoing a commit

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-01-12 18:42:20 CET

On Sunday, January 12, 2003, at 12:34 PM, Art Haas wrote:

> On Sun, Jan 12, 2003 at 12:27:04PM -0500, Garrett Rooney wrote:
>> On Sunday, January 12, 2003, at 12:19 PM, Art Haas wrote:
>>
>>> So, just what would you do to fix the repository if someone did this
>>> ...
>>>
>>> $ svn rm http://svn.collab.net/repos/svn/trunk -m "Removing bad tag
>>> ..."
>>
>> $ svn cp -r REV_BEFORE_STUPID_MISTAKE
>> http://svn.collab.net/repos/svn/trunk
>> http://svn.collab.net/repos/svn/trunk
>>
>> -garrett
>
> I _knew_ it could be done, I just didn't snap to using "svn cp". Thanks
> for the enlightenment.

you could also use 'svn merge' to revert the change, but that requires
a working copy, which would be annoying in this chase, since the change
you're reverting deleted trunk, so you'd have to check out the /entire/
damn repository...

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jan 12 18:42:54 2003

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