On Mon, Dec 5, 2016 at 12:48 PM, Campbell, Nina
<[email protected]> wrote:
...
> For committing files in a single revision I use --targets but there doesn’t
> seem to be a ‘copy’ equivalent of this command. Am I missing something
> obvious?
'svn copy' does have a --parents option (introduced in 1.8 or 1.9, I'm
not sure):
[[[
C:\>svn help copy
copy (cp): Copy files and directories in a working copy or repository.
usage: copy SRC[@REV]... DST
SRC and DST can each be either a working copy (WC) path or URL:
WC -> WC: copy and schedule for addition (with history)
WC -> URL: immediately commit a copy of WC to URL
URL -> WC: check out URL into WC, schedule for addition
URL -> URL: complete server-side copy; used to branch and tag
All the SRCs must be of the same type. When copying multiple sources,
they will be added as children of DST, which must be a directory.
...
--parents : make intermediate directories
]]]
--
Johan