gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] [BUG] FEATURE PLANS: zoomed trees


From: Bug Goo
Subject: Re: [Gnu-arch-users] [BUG] FEATURE PLANS: zoomed trees
Date: Thu, 27 May 2004 18:45:03 +0000

Created as bug 131

On Tue May 25 00:32:18 2004, Tom Lord wrote:
> 
> A zoomed tree is a tree with a ./{arch}/++SELECTION file
> and with some other files and strange rearrangements.
> 
> The file 
> 
>       ./{arch}/++ZOOMED
> 
> should contain a directory name.  The root of the zoomed tree (the one
> containing ./{arch}) is taken to be the directory named in ++ZOOMED
> rather than the project tree.
> 
> The directory
> 
>       ./{arch}/++EXTERN/
> 
> contains numbered subdirs each of which contains a ++ZOOMED file of
> its own along with some contents of that directory.
> 
> A zoomed tree corresponds to a particular MOD tree which can be
> formed this way:
> 
>       Begin with a copy of the ORIG tree (the immediate ancestor      
>         of the zoomed tree).
> 
>         Delete everything that matches ++SELECTION
> 
>         Call the result the TARGET.
> 
>       Make an untangled copy of the zoomed tree by starting
>         with an empty /., adding all prefix directories mentioned
>         in the various ++ZOOMED files (along with their tag files, if
>         any), and then by adding all of the files and dirs from the
>         zoomed tree (at the appropriate location).
> 
>         It is an error if not all files in the untangled tree (other
>         than the prefix directories) match the limit.  It is an error
>         if any of the prefix directories match the limit.
> 
>         Overlay the untangled tree onto the TARGET tree.
> 
>         If that succeeds, it is the MOD tree implied by the zoomed
>         tree.  
> 
> 
> The new command option:
> 
>       % tla get --selection SELECTION --zoom SUBDIR REVISION [DIR]
> 
> 
> creates a zoomed tree using the indicated SELECTION and SUBDIR.
> 
> For example, to check out just the `libawk' subdirectory of the tla
> source, you could use:
> 
> 
>         % echo '(selection (cb "./libawk"))' > ,selection
> 
>       % tla get --selection ,selection --zoom ./libawk tla--devo--1.3
>                   
> 
> In the resulting zoomed directory, you can edit and commit changes as
> usual -- they'll be "projected back" into a full tla--devo--1.3 tree
> by the rules for turning a zoomed tree into a MOD tree, and the rules
> for doing a selected commit in that MOD tree.
> 
> -t
> 
> 
> ----
> 
> Like my work on GNU arch, Pika Scheme, and other technical contributions 
> to the public sphere?   Show your support!
> 
> https://www.paypal.com/xclick/business=lord%40emf.net&item_name=support+for+arch+and+other+free+software+efforts+by+tom+lord&no_note=1&tax=0&currency_code=USD
> 
> and
> 
> address@hidden for www.moneybookers.com payments.
> 
> 
> -----
> 
>       The cause of death is birth.
>                       -- George Harrison
> 
> 
> 
> _______________________________________________
> Gnu-arch-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnu-arch-users
> 
> GNU arch home page:
> http://savannah.gnu.org/projects/gnu-arch/
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]