Feature request : fileinfo command

Bug #346624 reported by Erik de Castro Lopo
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

I would like to see a feature called "fileinfo" which given a file name in the current working directory:

     bzr fileinfo whatever/filename.X

will tell me if the file is in one of these categories:

    - versioned and up-to-date
   - versioned with uncommited changes
   - not versioned, but matches a pattern in .bzrignore
   - not versioned.

They may actually more possibilities but the above would be very helpful.

description: updated
Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 346624] Re: Feature request : fileinfo command

Couldn't this be (optionally) available from ls or stat rather than a
separate command?
--
Martin <http://launchpad.net/~mbp/>

Revision history for this message
Jonathan Lange (jml) wrote :

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

On Mon, Mar 23, 2009 at 2:58 PM, Martin Pool wrote:
> Couldn't this be (optionally) available from ls or stat rather than a
> separate command?

I was surprised that 'bzr st -v' didn't give such info.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.5)

iEYEARECAAYFAknHC6sACgkQX+0xPtMTonxSJwCgueg2nU90AaVA+HAcKHO2B/Hb
yUYAoMqjAcr/Zm0dbWeLZU/UUjQdMNrd
=6l2m
-----END PGP SIGNATURE-----

Revision history for this message
Erik de Castro Lopo (erikd) wrote :

Martin Pool wrote:

> Couldn't this be (optionally) available from ls or stat rather than a
> separate command?

Sure, once the functionality is available I can always create an
alias to call it whatever I want.

Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/erikd/Blog/

Vincent Ladeuil (vila)
Changed in bzr:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: ui
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.