On Oct 1, 2010, at 21:06, Tech Geek wrote: > I have a repository called "sandbox" whose HEAD is at revision 20. I would > like to dump revisions 1 to15 and then from 18 to19. Basically I want to skip > revision 16,17 and 20. > The command: > > # svnadmin dump -r 1:15 -r 18:19 sandbox > sanbox-dumpfile > > gives error message: > svnadmin: Multiple revision arguments encountered; try '-r N:M' instead of > '-r N -r M' > and the command: > #svnadmin dump -r 1:15,18:19 sandbox > sanbox-dumpfile > > gives error message: > svnadmin: Syntax error in revision argument '1:15,18:19' > How can I do this?
Yeah, I don't think you can specify multiple revision ranges like that. How about: svnadmin dump -r 1:15 sandbox > sandbox-dumpfile svnadmin dump -r 18:19 sandbox >> sandbox-dumpfile I'm not sure if that yields a legal dumpfile. If not, try: svnadmin dump -r 1:15 sandbox > sandbox-dumpfile svnadmin dump -r 18:19 sandbox > sandbox-dumpfile2 Then when it comes time to load, load the first file, then the second.