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

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

[Bug-gnu-arch] [bug #5362] make srcfind recognize nested arch control fi


From: nobody
Subject: [Bug-gnu-arch] [bug #5362] make srcfind recognize nested arch control files
Date: Tue, 16 Sep 2003 21:33:05 -0400
User-agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U; ) Gecko/20020623 Debian/1.2.5-0.woody.1

=================== BUG #5362: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5362&group_id=4899

Submitted by: gnubert                 Project: GNU arch -- a revision control 
system
Submitted on: Wed 09/17/2003 at 03:33
Category:  tla                        Severity:  5 - Major                  
Bug Group:  bug                       Resolution:  None                     
Status:  Open                         Release:  
address@hidden/tla--devo--1.1--patch-166
Fixed Release:                        Merge Request?:  yes -- merge from my 
archive
Your Archive Name:  address@hidden Archive Location:  
http://wmipf.in-berlin.de/{archives}/devel-2003
Assigned to:  None                    

Summary:  make srcfind recognize nested arch control files

Original Submission:  tla srcfind --nested --all doesn't show {arch} control 
files

of nested directories; and this doesn't depend on --nested:



    (cd DIR && tla srcfind --all -s) will



    tla srcfind --all -s DIR         won't



show {arch} files of project `DIR'. It also breaks



    tla update -d DIR --dest DESTDIR,



if DIR contains a nested project, since its {arch} files

don't get copied into DESTDIR.



In invent.c a function is_control_file compares a

probable control file name to an RE, that contains the

patterns:



    ^.*/?.arch-ids/

    ^.*/?.arch-ids/=id

    ^.*/?.arch-ids/[^/]*.id

    ^.*/?./{arch}(/[a-zA-Z=][^/~]*)*

    ^.*/?./{arch}/.arch-project-tree



A file name "./{arch}" (as for the topmost project) will

match, but "DIR/NESTED/{arch}" not -- only

"DIR/NESTED/./{arch}" would.



For this reason the changeset provides a fix that

removes "." in front of {arch} in the pattern

definition (larch has had a similar problem, which was

fixed in the beginning of June).



M.





No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5362&group_id=4899

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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