bugGNU arch -- a revision control system - Bugs: bug #5362, make srcfind recognize nested arch...

 
 

bug #5362: make srcfind recognize nested arch control files

Submitted by:  Mr. Nobody <gnubert>
Submitted on:  Wed 17 Sep 2003 01:33:04 AM UTC  
 
Category: tlaSeverity: 3 - Normal
Item Group: bugStatus: Fixed
Privacy: PublicOpen/Closed: Closed
Release: lord@emf.net--2003b/tla--devo--1.1--patch-166
Fixed Release: tla-1.1pre6, lord@emf.net--2003b/tla--devo--1.1--patch-184
Merge Request?: yes -- merge from my archive
Your Archive Name: mt@wmipf.in-berlin.de--devel-2003
Your Archive Location: http://wmipf.in-berlin.de/{archives}/devel-2003
Assigned to: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 17 Sep 2003 01:33:04 AM UTC, 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.

Mr. Nobody <gnubert>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 27 Sep 2003 07:39:15 PM UTCtomlordStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)
  Fixed Release=>

Back to the top


Powered by Savane 3.1-cleanup1