A GNU Arch Handbook

5.3 Create a Personal Multi-Project Tree

(prev) (next)

In the previous section, the examples created two local branches of projects from the upstream GNU Arch archives (one of the top-level rel project; another of the ./src/tla project).

This section shows how to make it convenient to check out a multi-project tree which contains these local branches in preference to upstream branches.

    % tla get lord@gnu.org--my-hacks-2005/TOP--tla--1.3.1 tla-tree

    % cd tla-tree

    % rm config

    % cp config.template config

    % ed config

In that editor session, notice that one line reads:

    ./src/tla		lord@emf.net--2005/tla--fix-1--1.3.1

Modify that line to read (with suitable adjustments to the arch names used here):

   ./src/tla		lord@emf.net--my-hacks-2005/TOP--tla--1.3.1

You can create a multi-project tree consisting of mostly the contents of tla-1.3.1-fix-1 but substituting your own (textually equivalent) branch for ./src/tla:

    % tla buildcfg ./config

Commands Discussed

    % tla get -H
    % tla buildcfg -H

  

(prev) (next)

Copyright

Copyright (C) 2005 Tom Lord (lord@emf.net)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

(prev) (next)