Rev 3606: (robertc) Do not generate a revision number map for tags if there are in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Tue Aug 5 21:29:48 BST 2008
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 3606
revision-id: pqm at pqm.ubuntu.com-20080805202941-gdv30kq4cign8fs4
parent: pqm at pqm.ubuntu.com-20080805062143-idm263sn4iw3cmkw
parent: robertc at robertcollins.net-20080718112738-ayyj205j3lo2nve1
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Tue 2008-08-05 21:29:41 +0100
message:
(robertc) Do not generate a revision number map for tags if there are
no tags. (Robert Collins)
modified:
bzrlib/builtins.py builtins.py-20050830033751-fc01482b9ca23183
------------------------------------------------------------
revno: 3553.1.1
revision-id: robertc at robertcollins.net-20080718112738-ayyj205j3lo2nve1
parent: pqm at pqm.ubuntu.com-20080717073312-reglpowwyo671081
committer: Robert Collins <robertc at robertcollins.net>
branch nick: misc-fixen
timestamp: Fri 2008-07-18 21:27:38 +1000
message:
Do not scan history for tags when none are present.
modified:
bzrlib/builtins.py builtins.py-20050830033751-fc01482b9ca23183
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py 2008-08-04 07:29:51 +0000
+++ b/bzrlib/builtins.py 2008-08-05 20:29:41 +0000
@@ -4392,6 +4392,8 @@
):
branch, relpath = Branch.open_containing(directory)
tags = branch.tags.get_tag_dict().items()
+ if not tags:
+ return
if sort == 'alpha':
tags.sort()
elif sort == 'time':
More information about the bazaar-commits
mailing list