I have the following repository structure
/
|-- projects/
| |-- projectA/
| | |-- moduleA/
| | |-- moduleB/
| | |-- moduleC/
|-- other_stuff
I want to create a branch from a particular tag for the projectAdirectory. So this are the commands I’m using and the output I get.
C:\>cvs login
Logging in to :ssh:myuser@myserver:22:/opt/cvs
CVS Password:
C:\>cvs tag -r TagToBranchFrom -b NewBranch projects/projectA
cvs [tag aborted]: no such directory `projects'
What am I doing wrong?
You are using
cvs tagwhich carries out actions on a working copy (ie. checked out project).If you don’t have the project checked out then you should use
cvs rtagwhich works on the repository and doesn’t require a working copy.