Creating a CVS View from a Null Pointer Branch

I am using the command cvs -tag -b "abcdefg"

to branch tags in my CVS. My CSV repo has an empty "obj" directory in every folder.

Whenever I use the command cvs co -r "abcdefg" REPO

, I get the full repo minus empty folders. I tried using the parameter -f

but it didn't work. What is the way to get out of this?

0


source to share


2 answers


The directories are not versioned in CVS in any way. When you checkout using the branch tag in CVS, it only checks out directories that have files that match the requested branch tag. Since the "obj" directories are all empty, CVS does not know to check them out. When you run the update, it will "fix" the state of your working copy and get empty directories.



+2


source


If you do not specify -P (trim empty directories), you should automatically get all empty directories.

Have you checked, maybe you have a .cvsrc file that indicates something like

co -P

      



It should be in the $ HOME directory

If it isn't, the question is, is your tag set on empty directories? Did you have empty directories checked when you were performing a tag operation?
The tag operation only tags the stuff you have in your sandbox, to tag everything in the repository, do rtag instead.

0


source







All Articles