hgext/mq.py
changeset 4209 dbc3846c09a1
parent 4202 b7e66db28571
child 4210 6cb5be6bd70f
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -1283,7 +1283,7 @@ class queue:
             return 1
         self.applied.append(statusentry(revlog.hex(n),'.hg.patches.save.line'))
         self.applied_dirty = 1
-        self.removeundo(undo)
+        self.removeundo(repo)
 
     def full_series_end(self):
         if len(self.applied) > 0: