John A Meinel wrote:

Robert Collins wrote:

...

bazaar$ baz inventory --nested -t
debian
src
src/baz
src/baz-manpage
src/hackerlab


Cheers, Rob


Thanks, I guess I never saw the '-t' flag. It's a little bit of a pain
on really large trees, because tla crawls the whole tree before I can
start working on a subset, but it isn't terrible, and it is the
"correct" thing to do.

John
=:->

One problem with inventory --nested -t, it doesn't detect "." I'm not sure if there is a reason for this, but if I am crawling the directory to find source directories (so that I can run changes/status in them and see what has been effected) I would like it to work if I run in a source directory.

Is there a simple workaround?
This isn't very clean:

if [ `tla escape --unescaped $(tla tree-root)` eq `pwd` ]; then
   $cmd `pwd`;
fi
for d in `tla inventory --nested -t`; then
   unescaped=`tla escape --unescaped $d`
   $cmd $unescaped
fi

Is it a bug that inventory -t doesn't catch "."? Or is this a design
decision?

Thanks,
John
=:->


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnu-arch-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Reply via email to