 |
|
 |
|
On Wed, 01 Feb 2012 12:03:53 +0100, John Arbash Meinel <...@arbash-meinel.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
bzr tags --sort=time
tag_sort_methods = Registry()
tag_sort_methods.register("natural", sort_natural,
'Sort numeric substrings as numbers. (default)')
tag_sort_methods.register("alpha", sort_alpha, 'Sort tags
lexicographically.')
tag_sort_methods.register("time", sort_time, 'Sort tags chronologically.')
tag_sort_methods.default_key = "natural"
John
=:-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8pHBkACgkQJdeBCYSNAAOcMACeLkpjSVhHVT39udvhXZfMUZ53
o8YAnRTTLpLgCku+NA6Uo6iqqWPgNq4h
=iQV6
-----END PGP SIGNATURE-----
|
|
 |
|
 |
 |
|
 |
|
On Wed, 01 Feb 2012 22:15:51 +1100, "Brendan Simon (eTRIX)" <...@etrix.com.au
Thanks. So ideally the help for bzr tags should show the available sort
args (natural, alpha, time), and/or pointers on how to discover any
custom sort methods (or be able to display info on the custom sort
methods) ;-)
<html <head <meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type" </head <body bgcolor="#FFFFFF" text="#000000" <br <br On 1/02/12 10:03 PM, John Arbash Meinel wrote:<br <span style="white-space: pre;" Simon (eTRIX) wrote:<br >> My 'bzr tags' command produces the following:<br >><br >> v5.6.14 251 v5.6.14-rc1 246 v5.6.14-rc2<br >> 250 v5.7.0 301 v5.7.0-dev1 257 v5.7.0-dev2<br >> 259 v5.7.0-dev3 264 v5.7.0-dev4 280 v5.7.0-rc1<br >> 281 v5.7.0-rc2 300<br >><br >><br >> Note that the release candidates (-rc*) and dev builds
(-dev*) are <br >> displayed earlier than the final releases.<br >><br >> I want to display in revision order. Is there a way to
get bzr<br >> tags to display in chronological revision order ??<br >><br >> v5.6.14-rc1 246 v5.6.14-rc2 250 v5.6.14<br >> 251 v5.7.0-dev1 257 v5.7.0-dev2 259 v5.7.0-dev3<br >> 264 v5.7.0-dev4 280 v5.7.0-rc1 281 v5.7.0-rc2<br >> 300 v5.7.0 301<br >><br >><br >> The help (bzr tags --help) wasn't that helpful for the
sort<br >> arguments :( Note: using bzr 2.4.2.<br >><br >> Thanks, Brendan.<br >><br ><br > bzr tags --sort=time<br ><br > tag_sort_methods = Registry()<br > tag_sort_methods.register("natural", sort_natural,<br > 'Sort numeric substrings as numbers. (default)')<br > tag_sort_methods.register("alpha", sort_alpha, 'Sort tags<br > lexicographically.')<br > tag_sort_methods.register("time", sort_time, 'Sort tags
chronologically.')<br > tag_sort_methods.default_key = "natural"</span <br Thanks. So ideally the help for bzr tags should show the available
sort args (natural, alpha, time), and/or pointers on how to discover
any custom sort methods (or be able to display info on the custom
sort methods) ;-)<br <br <br </body</html
|
|
 |
|
 |
 |
|
 |
|
On Wed, 01 Feb 2012 14:58:10 +0100, John Arbash Meinel <...@arbash-meinel.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
...
There is already an open bug about 'bzr help' not showing possible
values for RegistryOptions that don't expose the individual values as
flags. I don't remember the number offhand, but that's certainly what
you are hitting.
John
=:------BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8pRPIACgkQJdeBCYSNAAP4WwCgjUALVtAXTT/T6sgmcq/8IuF/
524An1souDr4fdkFmzy9AMrXOglY6cxu
=NGdE
-----END PGP SIGNATURE-----
|
|
 |
|
 |
 |
|
 |
|
On Wed, 1 Feb 2012 12:12:51 +0100, "Voelker, Bernhard" <...@siemens-enterprise.com
Interesting - bzr.dev seems to have some unnumbered tags:
...
bzr-2.4.2 6015.45.1
bzr-2.5b3 6252.1.1
bzr-2.5b4 6349.1.1
bzr-2.5b5 6437.2.2
upstream-2.3.0~beta1 ?
upstream-2.3.0~beta3 ?
upstream-2.3.0~beta2 ?
2.3.0-1 ?
2.3.0-3 ?
2.3.0-2 ?
2.3.0-5 ?
2.3.0-4 ?
2.5 ?
...
Why is this?
Bye,
Berny
|
|
 |
|
 |
 |
|
 |
|
On Wed, 1 Feb 2012 12:24:31 +0100, Jelmer Vernooij <...@samba.org
These are tags that are set on revisions that are not in the branch
history - and thus they have no revision number.
In this particular case, these are tags that are relevant
from the Debian packaging. I'm not sure how they made it into bzr.dev.
Cheers,
Jelmer
|
|
 |
|
 |
 |
|
 |
|
On Wed, 01 Feb 2012 14:57:09 +0100, John Arbash Meinel <...@arbash-meinel.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Some of the really old ones were because back in the 0.? days we
weren't merging the release branches back to trunk, which we then
changed our mind on. I manually added a bunch of them once we started
supporting tags (prior to that I just tracked them manually).
John
=:-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8pRLUACgkQJdeBCYSNAAM+EQCgrI/IoQlz1pyb4xblbOvc88qq
CKMAn0ZA/gPYPGJuAj6cohNXSS8O6Ftx
=PbG/
-----END PGP SIGNATURE-----
|
|
 |
|
 |
|
|