Sorting tags
David Ingamells
david.ingamells at mapscape.eu
Wed Feb 1 11:03:11 UTC 2012
On linux:
bzr tags | sort -k 2 -n
you can also add the -r switch to get the newest first.
On 01/02/12 11:46, Brendan Simon (eTRIX) wrote:
> My 'bzr tags' command produces the following:
>
> v5.6.14 251
> v5.6.14-rc1 246
> v5.6.14-rc2 250
> v5.7.0 301
> v5.7.0-dev1 257
> v5.7.0-dev2 259
> v5.7.0-dev3 264
> v5.7.0-dev4 280
> v5.7.0-rc1 281
> v5.7.0-rc2 300
>
>
> Note that the release candidates (-rc*) and dev builds (-dev*) are
> displayed earlier than the final releases.
>
> I want to display in revision order. Is there a way to get bzr tags
> to display in chronological revision order ??
>
> v5.6.14-rc1 246
> v5.6.14-rc2 250
> v5.6.14 251
> v5.7.0-dev1 257
> v5.7.0-dev2 259
> v5.7.0-dev3 264
> v5.7.0-dev4 280
> v5.7.0-rc1 281
> v5.7.0-rc2 300
> v5.7.0 301
>
>
> The help (bzr tags --help) wasn't that helpful for the sort arguments :(
> Note: using bzr 2.4.2.
>
> Thanks,
> Brendan.
>
--
*David Ingamells * Test Architect *Mapscape *
Henri Wijnmalenweg 5b | 5657 EP Eindhoven | The Netherlands
Phone +31 (0)40 7113571 | Fax +31 (0)40 7113599
www.mapscape.eu <http://www.mapscape.eu/>
Mapscape B.V. is ISO9001:2008 certified.
This e-mail and any attachment may contain corporate proprietary
information and may only be read, copied and used by the intended
recipient. If you have received it by mistake, please notify us
immediately by reply e-mail and delete this e-mail and its attachments
from your system. We believe but do not warrant that this message and
any attachments are virus free.
Mapscape B.V. is registered at the Kamer van Koophandel Oost-Brabant
located in Eindhoven, The Netherlands, number 17210210.
More information about the bazaar
mailing list