| RecentChanges FindPage HelpContents | ||
![]() |
![]() |
(Please note that this policy is new so many branches that currently exist don't adhere to this policy)
Before creating a branch you should create a base tag with the tag name <your_branch_name>-base on the branch you want create a new branch on. If you don't have this branch checked out already:
cvs -d:ext:freedesktop.org:/cvs/xorg checkout -r <base_branch> xc
Note: If base_branch is HEAD, you may omit the -r <base_branch>. Then do:
cd xc
cvs tag <your_branch_name>-basecvs tag -b <your_branch_name>
cvs update -r <your_branch_name>
cvs tag -r <base_branch> <your_branch_name>-merge-1
cvs update -j <prev_merge> -j <your_branch_name>-merge-1
<prev_merge> is the tag from your previous merge (see below). If you haven't merged yet it would be: <your_branch_name>-base, otherwise it would be <your_branch_name>-merge. Now you have to delete your old merge tag, if it exists:
cvs tag -d <your_branch_name>-merge
cvs tag -r <your_branch_name>-merge-1 <your_branch_name>-merge
cvs tag -d <your_branch_name>-merge
cvs checkout -j <your_branch_name>-merge -j <your_branch_name>
cvs checkout -A -j <your_branch_name>-merge -j <your_branch_name>
cvs rtag -d <your_branch_name>-merge
cvs tag <your_branch_name>-merge
cvs tag <your_branch_name>-close
cvs tag <your_branch_name>-HEAD
After creating a new branch you should add an entry to the branch list on the Wiki. It should contain:
-- Main.EgbertEich - 15 Apr 2004