mercurial/localrepo.py
changeset 4494 99f411ba0380
parent 4415 1a63b44f90c9
child 4497 22ebd6ee5672
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -307,7 +307,7 @@ class localrepository(repo.repository):
                 if bn != an and an in bh and \
                    (bn not in ah or len(bh) > len(ah)):
                     an = bn
-                ah.append([n for n in bh if n not in ah])
+                ah.extend([n for n in bh if n not in ah])
                 globaltags[k] = an, ah
 
         # read the tags file from each head, ending with the tip