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

Re: How to revert a commit?

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2005-07-28 03:18:07 CEST

Adrian Hoe wrote:

> On Jul 28, 2005, at 1:00 AM, Ben Collins-Sussman wrote:
>
>>
>> On Jul 27, 2005, at 11:26 AM, Adrian Hoe wrote:
>>
>>
>>> Hi,
>>>
>>> How can I revert a commit? Let say I have r26 and r27. I realized
>>> that r27 was a mistake. How can I revert back to r26?
>>>
>>
>> http://svnbook.red-bean.com/en/1.1/ch04s04.html#svn-ch-4-sect-4.2
>
>
>
> But svn merge will still store information of the merged revision (if
> I am correct). In my case, r27 is the last revision and is a total
> disaster/mistake that I do not wish to have. I want to completely
> remove it from the repository. But how?

svnadmin dump -r0:26 old-repo | svnadmin load --force-uuid new-repo

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 28 03:20:36 2005

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