diff mercurial/localrepo.py @ 4482:99f411ba0380

use .extend instead of .append in readtags
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Mon, 04 Jun 2007 00:24:48 -0300
parents 1a63b44f90c9
children 22ebd6ee5672
line wrap: on
line diff
--- a/mercurial/localrepo.py	Fri Apr 20 16:17:42 2007 -0500
+++ b/mercurial/localrepo.py	Mon Jun 04 00:24:48 2007 -0300
@@ -307,7 +307,7 @@
                 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