hgext/convert/common.py
branchstable
changeset 16265 7887b976650a
parent 16190 9479c28a22bf
child 16687 e34106fa0dc3
--- a/hgext/convert/common.py	Thu Mar 15 23:02:31 2012 +0000
+++ b/hgext/convert/common.py	Fri Mar 16 17:42:21 2012 -0500
@@ -418,6 +418,8 @@
 
 def parsesplicemap(path):
     """Parse a splicemap, return a child/parents dictionary."""
+    if not path:
+        return {}
     m = {}
     try:
         fp = open(path, 'r')