[Cook] multiple respitories

Jerry Pendergraft jerry at endocardial.com
Tue Jun 10 12:25:37 EST 2003


aegis does provide a "search_path" variable so you can just do:
search_list = [split ":" [search_path]];

-- 
Jerry Pendergraft                        jerry.pendergraft at endocardial.com
Endocardial Solutions                    voice: 651-523-6935
1350 Energy Lane, Suite 110                fax: 651-644-7897
St Paul, MN 55108-5254                  mobile: 651-491-0163

On Mon, 9 Jun 2003, Aryeh M. Friedman wrote:

> 
> This may be more of a aegis then a cook question but here we go.  If I have multiple layered
> branching (i.e. see my last post to aegis-users) whould I cause any problems if I constructed
> my search_list the following way (psedo-code):
> 
> dir_name = ;
> search_list = ;
> 
> loop dir = [split "." [project]]
> {
> 	dir_name = [dir_name].[dir];
> 	search_list = [dir_name] [search_list];
> }
> 
> then do something like:
> 
> [resolve ack/foo] 
> 
> and it will return the most "recent" version of ack/foo, namely we are in myprog.0.1.8.2 but ack/foo
> has not been modifed since 0.0 [i.e. it only exists in myprog.0's baseline] it will use that version
> but if it was modified in 0.1.8.1 we use the copy in 0.1.8's baseline.
> 
> 	--Aryeh
> _______________________________________________
> Cook-users mailing list
> Cook-users at auug.org.au
> http://www.auug.org.au/mailman/listinfo/cook-users
> 




More information about the Cook-users mailing list