diff hgext/convert/common.py @ 5996:3f9ce63da18c

convert: allow synthetic history to be spliced in. Useful for recreating history in the face of SVN lossage.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 01 Feb 2008 13:11:03 -0800
parents 0162c6cc045e
children 30d2fecaab76
line wrap: on
line diff
--- a/hgext/convert/common.py	Fri Feb 01 13:09:45 2008 -0800
+++ b/hgext/convert/common.py	Fri Feb 01 13:11:03 2008 -0800
@@ -311,6 +311,8 @@
         self._read()
 
     def _read(self):
+        if self.path is None:
+            return
         try:
             fp = open(self.path, 'r')
         except IOError, err: