Why does "view" not allow wildcards?

John Arbash Meinel john at arbash-meinel.com
Mon Jan 4 19:27:45 GMT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eli Zaretskii wrote:
>> Date: Mon, 04 Jan 2010 12:07:36 -0600
>> From: John Arbash Meinel <john at arbash-meinel.com>
>> CC: Ben Finney <ben+bazaar at benfinney.id.au>, bazaar at lists.canonical.com
>>
>> 'bzr ls' was designed from the beginning to be shell-friendly
>> (supporting stuff like --null). It was also believed that we would
>> transition away from stuff like 'bzr inventory'.
>>
>> So I would recommend using 'bzr ls', and feedback of where it is
>> incomplete (espec, vs bzr inventory) is invited.
> 
> Well, one thing that is immediately visible is that "bzr ls -R" is
> slower than "bzr inventory", and causes much more disk accesses.  By
> contrast, "inventory" is lightning fast and doesn't touch the disk, or
> so it seems.
> 
> Is that expected?
> 

I believe 'ls -R' may be returning the inventory for the last commit,
and not the 'live' one. While 'inventory' works solely on the current
tree. You might try "bzr inventory -r -1" and see if that is closer to
'bzr ls' times.

Alternatively, ls may be working on both the current and previous trees,
while inventory only looks at one. I'd have to look at the code to know
for sure.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktCQTEACgkQJdeBCYSNAAOakACfVxMaZ43Z5NynLypuTzCPkrTH
tJQAoI9VIuKhnA5dXIJHuOAsslEVjb+l
=xT73
-----END PGP SIGNATURE-----



More information about the bazaar mailing list