2011/6/23 Gavin Baumanis <gav...@thespidernet.com>: > Hi there everyone, > > I am just wondering if there is a short-hand way of excluding a directory > from a copy? > > I am wanting to create a branch from the trunk - but omit a specific > directory from the copy as it contains about 1GB of binary data that are not > required for the work that will be occurring in the branch. > > I can manually do it, by doing a WC->WC copy and then simply deleting the > sub-directory that I don't need, prior to committing the branch. > But I thought I would ask if there was a smarter and more efficient way to do > it first.
Copying 1 GB takes time... You can 1) create URL -> URL copy, then do "svn delete URL" as a separate commit 2) do not delete the unneeded subdirectory, but either do "svn switch" (should preserve unmodified data in place), or a sparse checkout I think that both action in 1) should be possible to do in one commit using svnmucc program - but I have never used it. Best regards, Konstantin Kolinko