hgext/convert/gnuarch.py
changeset 22296 650b5b6e75ed
parent 17424 e7cfe3587ea4
child 22300 35ab037de989
--- a/hgext/convert/gnuarch.py	Wed Aug 27 12:30:28 2014 +0200
+++ b/hgext/convert/gnuarch.py	Tue Aug 26 22:03:32 2014 +0200
@@ -137,9 +137,8 @@
         if rev != self.lastrev:
             raise util.Abort(_('internal calling inconsistency'))
 
-        # Raise IOError if necessary (i.e. deleted files).
         if not os.path.lexists(os.path.join(self.tmppath, name)):
-            raise IOError
+            return None, None
 
         return self._getfile(name, rev)