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

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

Re: [GNU-arch-dev] Re: [Gnu-arch-users] new documentation progress


From: John Arbash Meinel
Subject: Re: [GNU-arch-dev] Re: [Gnu-arch-users] new documentation progress
Date: Wed, 30 Mar 2005 11:46:25 -0600
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

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


reply via email to

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