[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SVN copy multiple files

From: Campbell, Nina <nina.campbell_at_t-tales.com>
Date: Mon, 5 Dec 2016 11:48:51 +0000

Is there a way to copy multiple files from WC to URL in one revision? In my current setup I am copying files from the working copy to a repository URL, so the copy is immediately committed. These files can be in multiple directories. However this means the target repository's revision number is incremented per file.

The only suggested solutions I've found seem to be:

1) Put all of the files on the command line together (e.g. "svn copy file1 file2 file3 destination_URL") however I need to provide support for a large number of files with long paths

2) Copy the files individually and then do one commit, however in my case I need to allow the user to copy files to a repository they don't have a working copy for

3) Create a temporary working copy directory, copy all of the files there, and then copy that directory to tag. I'd rather not clog up the working copy repository's log with committing and deleting temp files that are being copied to tag

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?

Thanks in advance.
Received on 2016-12-05 12:49:41 CET

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.