hgext/convert/p4.py
changeset 22296 650b5b6e75ed
parent 22294 754f208ce21d
child 22300 35ab037de989
--- a/hgext/convert/p4.py	Wed Aug 27 12:30:28 2014 +0200
+++ b/hgext/convert/p4.py	Tue Aug 26 22:03:32 2014 +0200
@@ -183,7 +183,7 @@
                 contents += data
 
         if mode is None:
-            raise IOError(0, "bad stat")
+            return None, None
 
         if keywords:
             contents = keywords.sub("$\\1$", contents)