Commits

Patrick Mézard committed fd5fb5f

Fix and test patch filtering

Comments (0)

Files changed (3)

     
     def match(group):
         intro, patches = group
-        text = [intro.title]
+        text = []
+        if intro:
+            text.append(intro.title)
         text += [p.title for p in patches]
         text = '\n'.join(text)
         for r in regexps:
 EOF
 hg qseries
 
+echo % test patch filtering and patch name generation
+hg mimport 2 <<EOF
+y
+EOF
+hg qseries
 2 patches imported
 patch1
 patch2
+% test patch filtering and patch name generation
+[PATCH] patch2
+import this group? [Nydq?]  
+adding patch2__1 to series file
+1 patches imported
+patch2__1
+patch1
+patch2