copy SVN Command
How to use copy SVN (Subversion) Command in Linux / Windows?
Explanation
copy cmd is used to copy a file or directory in a working repository.
Usage:
svn copy <filename> <newfilename>
Example:
- Now you can duplicate the files or directories using below command.
svn copy test.txt test1.txt
Output:-----------------------------------------------
A test1.txt
---------------------------------------------------------
-
svn ci test1.txt -m add
It shows the name of the new file name
Output:-----------------------------------------------------
A - Adding a new file.
test1.txt. - copied filename.
-----------------------------------------------------------------
Result:
From the above cmd, the file 'test1.txt' is copied into the local repository. Dont forget to call
svn commit to add the copied file in to server repo.