How can I create a svn tag afterwards?
I have changed the repository structure to fit to the normal trunk, tags and braches structure. How can I now create tags for old revisions?
Curriently I’m tring this:
svn copy dev/somedir@35 tags/Stable-1.0 -r 35
But I get this error:
svn: E155010: The node ‘/path/to/repo/dev/somedir’ was not found.
This is normal for the currient state but not true for the revision 35.
How can I fix this problem? Should I check out the old rev 35 and copy the content to the currient version? Or is there a simpler way?
I try to repeat your question: The path
/dev/somedirexists in rev 35, in between the directory structure changed, the path/dev/somedirdoes not exist in the HEAD revision, and the path/tagsdoes not exist in rev 35. You want to copy/dev/somedirfrom rev 35 to/tags. Correct?Try the following command:
This command works with two URLs instead of paths in the working copy. I strongly recommend the usage of URLs when creating tags and branches.
The following operation should work as well (combination of URL and WC). However, I strongly advise against using it: