hgext/convert/common.py
changeset 5437 71e7c86adcb7
parent 5436 b4ae8535f834
--- a/hgext/convert/common.py
+++ b/hgext/convert/common.py
@@ -116,9 +116,13 @@ class converter_sink(object):
 
     def __init__(self, ui, path):
         """Initialize conversion sink (or raise NoRepo("message")
-        exception if path is not a valid repository)"""
+        exception if path is not a valid repository)
+
+        created is a list of paths to remove if a fatal error occurs
+        later"""
+        self.ui = ui
         self.path = path
-        self.ui = ui
+        self.created = []
 
     def getheads(self):
         """Return a list of this repository's heads"""