Back to HOWTOs

Creating a CVS Branch in ns-2


This is how I created a branch on my ns-2 CVS repository, which could be useful if you want to do multiple projects without keeping a completely separate ns-2 source tree for each project. This assumes ns-2 has already been added to a CVS repository.

Related Pages


  1. Checkout the original ns-2.26 source:
    cvs co -r original ns-2.26
  2. Create a new branch:
    cd ns-2.26;
    cvs tag -b new_branch;
  3. Release the original branch before modifying files:
    cd ..;
    cvs release -d ns-2.26;
  4. Check out the new branch to begin modifications:
    cvs co -r new_branch ns-2.26;
    cd ns-2.26;