I have the following project structure:
~/projects:
dir1/ dir2/ dir3/ .... dirn/
dir1/:
dir11/ dir12/ ... dir1n/
I want to export all directories dir2/ to dirn/ from within ~/projects and only dir11/ from within dir1/. How do I do this? I am using cvs.
Thanks,
Sriram.
CVS doesn’t have a method (that I can find or have ever heard of) to exclude certain modules on export (or checkout).
You’ll have to do it in two steps
Not sure if the
mvandrmdircommands are what you want to do, but the gist of it is, exportingdir1/dir11is going to create adir1/folder, which I’m assuming you don’t want.Otherwise, export
dir11/in a separate command with the-doption, something like: