hgext/mq.py
changeset 12658 97d7ee445e98
parent 12655 5192b24f309c
child 12682 58a3e2608ae4
--- a/hgext/mq.py	Sat Oct 09 11:27:29 2010 -0500
+++ b/hgext/mq.py	Sat Oct 09 11:53:48 2010 -0500
@@ -479,7 +479,7 @@
         if self.added:
             qrepo = self.qrepo()
             if qrepo:
-                qrepo[None].add(self.added)
+                qrepo[None].add(f for f in self.added if f not in qrepo[None])
             self.added = []
 
     def removeundo(self, repo):