Usinng svnadmin dump to revert the latest revision committed

Posted by Wux on Stack Overflow See other posts from Stack Overflow or by Wux
Published on 2010-03-29T15:32:00Z Indexed on 2010/03/29 15:33 UTC
Read the original article Hit count: 699

Filed under:
|

What I need is that the latest (mistake) revision being reverted and that the repository does not store it in anyway. That is, I'm trying to erase the latest revision out of existence, NOT trying to fix things by coming back to the latest-1 revision. In other words, I want to avoid the repository growing in size.

Suppose head revision is 100. I knew that the suggested answer is that

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

What I'm confusing myself about is why not

svnadmin dump -r81:100 old-repo

Why the first and not the second solution? I suppose svnadmin dump will erase the repository completely? And keeping only revision 0 - 80 in a dump file? Is my understanding of "taking a part out of the repository into a dump file" about svnadmin dump completely wrong? (That is revision 81 - 100 is still there)

Sincere apologies if this has been asked. I did spend some time searching though no specific things about this were found. A topic link in case I miss it would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about svnadmin

Related posts about dump

  • systemstate dump ??

    as seen on Oracle Blogs - Search for 'Oracle Blogs'
            ???????????????hang????,????????systemstate dump?????????,?????,????????,???????????????,????systemstate dump?????????????       ??????,????????systemstate dump, ?????“WAITED TOO LONG FOR A ROW CACHE ENQUEUE LOCK”?       … >>> More

  • Heap Dump Root Classes

    as seen on Stack Overflow - Search for 'Stack Overflow'
    We have production system going into infinite loop of full gc and memory drops form 8 gigs to like 1 MB in just 2 minutes. After taking heap dump it tells me there an is an array of java.lang.Object ([Ljava.lang.Object) with millions of java.lang.String objects having same String taking 99% of heap… >>> More

  • vbscript calling svnadmin dump

    as seen on Stack Overflow - Search for 'Stack Overflow'
    Hi, Running the following vbscript to call svnadmin dump fails (i.e. no dump is being created) Set objShell = CreateObject("WScript.Shell") Set objShellExec = objShell.Exec("svnadmin dump C:\svn_repos > C:\fullbackup") I discovered from another post, http://stackoverflow.com/questions/445121/svn-dump-fails-with-wscript-shell/2400011#2400011… >>> More

  • Know more about shared pool subpool

    as seen on Oracle Blogs - Search for 'Oracle Blogs'
    ????T.askmaclean.com???Shared Pool?SubPool?????,????????_kghdsidx_count ? subpool ??subpool????( ???duration)???: SQL> select * from v$version; BANNER ---------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi PL/SQL… >>> More

  • Hex Dump using LINQ (in 7 lines of code)

    as seen on ASP.net Weblogs - Search for 'ASP.net Weblogs'
    Eric White has posted an interesting LINQ query on his blog that shows how to create a Hex Dump in something like 7 lines of code.Of course, this is not production grade code, but it's another good example that demonstrates the expressiveness of LINQ.Here is the code:byte[] ba = File.ReadAllBytes("test… >>> More