Creating Your Own Branch

Now we've got Arch configured and you've had a bit of a tour of the Dpkg archive, it's time to get a branch of your own in your archive so you can work on things.

The current main line branch of development is scott@netsplit.com--2005/dpkg--devel--1.13, unless you're doing something odd, this is what you should create a branch of.

Branches are created with the tla tag command, we'll create your own main line development branch with the same name.

$ tla tag -S scott@netsplit.com--2005/dpkg--devel--1.13 \
        dpkg--devel--1.13

In the second argument we omit the archive name and it'll default to your own. If you wanted to create the branch at a particular point along the main line you can simply append --patch-N to the first argument.

Now's a good time to update your mirror so everyone else can see the start of new branch:

$ tla archive-mirror

You can now checkout a working copy of this branch so you can work on it. The command to do this is tla get and it takes both a branch name and a directory name to check it out as.

$ tla get dpkg--devel--1.13 dpkg-1.13
$ cd dpkg-1.13

dpkg: ArchRepository/YourOwnBranch (last edited 2005-01-02 13:26:38 by ScottJamesRemnant)