Diff for "CvsBranchnames"

Differences between revisions 3 and 4
Revision 3 as of 2005-06-01 16:20:06
Size: 3958
Editor: ip68-12-168-194
Comment:
Revision 4 as of 2008-05-16 05:49:13
Size: 3959
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 80: Line 80:
 After creating a new branch you should add an entry to the [:CvsBranches: branch list] on the Wiki. It should contain:  After creating a new branch you should add an entry to the [[CvsBranches| branch list]] on the Wiki. It should contain:

Branchname policy (preliminary)

(Please note that this policy is new so many branches that currently exist don't adhere to this policy)

Where to branch from

How branch names should look like

What should be done when creating a new branch

        cvs -d:ext:freedesktop.org:/cvs/xorg checkout -r <base_branch> xc

        cd xc
        cvs tag <your_branch_name>-base

        cvs tag -b <your_branch_name>

        cvs update -r <your_branch_name>

Merging in new versions from the mother branch

        cvs tag -r <base_branch> <your_branch_name>-merge-1

        cvs update -j <prev_merge> -j <your_branch_name>-merge-1

        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

Merging things back

        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

Closing a branch

        cvs tag <your_branch_name>-close

        cvs tag <your_branch_name>-HEAD

Branch list

-- Main.EgbertEich - 15 Apr 2004