Reputation: 1727
I want to use svn copy
to create a new tag,but I have some files are not under control(e.g.:some js files which are generated by coffeescript).svn copy
command will abort and display error: error: <file> is not under version control.
My Question is:how to ignore files which are not under version control when I run svn copy
?
My command is svn copy trunk/* tags/2014-08-18/
Upvotes: 3
Views: 503
Reputation: 911
The wildcard (trunk/*) will expand to all files inside that directory. If you have unversioned files svn will fail to copy them and abort.
Solution 1:
svn cp trunk dest
.Solution 2:
svn cp trunk/a.txt trunk/b.txt dest
.Upvotes: 1