[PATCH] Display revision in `bzr version` if bzrlib is in a branch

Lalo Martins lalo at laranja.org
Sat May 21 14:06:01 BST 2005

This is a somewhat trivial patch, but I find it useful for myself, it 
probably will be useful for any other bzr contributors.

If your bzrlib is from a branch, as I suppose it will be for most of the 
people who subscribe this list, `bzr version` will also print the revno.

If it's not, it won't break, just silently omit that line.

                                                Lalo Martins
   It doesn't bother me that people say things like
    "you'll never get anywhere with this attitude".
    In a few decades, it will make a good paragraph
       in my biography. You know, for a laugh.
http://www.laranja.org/                mailto:lalo at laranja.org
          pgp key: http://www.laranja.org/pessoal/pgp
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: version_rev.diff
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20050521/0e003b7f/attachment.diff 

More information about the bazaar mailing list