command to list all files in a certain directory that I have under bazaar's version control
John Arbash Meinel
john at arbash-meinel.com
Thu Mar 5 15:19:29 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rahul Nabar wrote:
> On Tue, Mar 3, 2009 at 11:39 AM, Rahul Nabar <rpnabar at gmail.com> wrote:
>> On Tue, Mar 3, 2009 at 12:59 AM, Marius Kruger <amanic at gmail.com> wrote:
>>> 2009/3/3 Robert Collins <robert.collins at canonical.com>:
>>> bzr ls --non-recursive --versioned
>> This is exactly what I need!
>>
>> Wow. It is sort of hard to figure out. Thanks guys!
>>
>> --
>> Rahul
>>
>
> Just as an extension I tried
>
> bzr status --non-recursive --versioned
>
> Doesn't work (as designed, of course. I did read the help options!)
>
> But is there an analogous expression. The "bzr ls --non-recursive
> --versioned" does give me a nice list but has no indication of the
> file statuses. i.e. which ones are modified and which are current.
>
> I even tried "bzr ls --non-recursive --versioned -v" with high hopes
> in the "verbosity" option. Unfortunately it just lists a pretty
> redundant "V" descriptor (of course I asked for --versioned so they
> are all of the type "V").
>
> V Function1.sql
> V Function2.sql
> V Function3.sql
> V Procedure1.sql
> [snip]
>
> A simple "bzr status" is no use since there is an information overload
> about files everywhere in the filesystem when all I am interested is
> in a certain folder.
bzr status . --versioned --short
May be most of what you are looking for. We don't have a --non-recursive
flag yet, though perhaps something like that should be added.
At the very least, by specifying '.' you exclude the match to everything
underneath the working directory, rather than the entire tree.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmv7YEACgkQJdeBCYSNAAMwoACgqxyebBnz12qB+3Lllm2H+1/s
5r0An0ritHq1sZD7JcL/OgVLry0Rk5aS
=ynCc
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list