Re: SVN Copy when directory exists
From: Duncan Booth <duncan.booth_at_suttoncourtenay.org.uk>
Date: 2007-11-13 12:29:30 CET
John Peacock <john.peacock@havurah-software.org> wrote:
> No, actually that is exactly how it works under *nix (at least, don't
Windows behaves pretty much as Daniel expected SVN to behave:
COPY sourcedir target
If target exists copies all files in sourcedir into target. If target
XCOPY sourcedir target
copies all files in sourcedir into target. If target does not exist it
Both approaches have advantages and disadvantages, but they are mutually
Note that while Unix 'cp' accepts multiple source paths for a single
>
svn switch wc branchurl/directory_exists
which has the advantage of keeping the branch history intact.
It is a pity though that there is no single command to create a branch
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.