Excellent. This procedure is very cool. Thanks & Best Regards, Ali
On Sat, May 8, 2010 at 9:12 PM, VisualSVN Team <supp...@visualsvn.com>wrote: > Hello, > > On Sat, May 8, 2010 at 15:05, Ali <shabid....@gmail.com> wrote: > > The below procedure describes how to “undo” the last commit to an svn > > repository (fsfs backend) in an extreme case: (Please test it > > thoroughly on a “test” repo in your environment before actually > > applying it) > > We do not recommend to use that procedure to remove last revision. > Subversion repository structure is a more complex than it seems to be. > > Usually you can just revert unnecessary changes in a working copy and > commit correct revision. If you really need to delete last revision > from the repository follow these steps: > 1. Make a backup of the repository > 2. Dump all revisions except last. Suppose last revision is 10: > svnadmin.exe dump -r1:9 <repository path> > repo.dump > 3. Create new repository > 4. Load dump to the new repository: > svnadmin.exe load <new repository path> < repo.dump > > -- > Best regards, > Simon Atanasyan > VisualSVN Limited >