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.
|