##// END OF EJS Templates
convert: deal with empty splicemap path (issue3311)
Matt Mackall -
r16265:7887b976 stable
parent child Browse files
Show More
@@ -418,6 +418,8 b' class mapfile(dict):'
418
418
419 def parsesplicemap(path):
419 def parsesplicemap(path):
420 """Parse a splicemap, return a child/parents dictionary."""
420 """Parse a splicemap, return a child/parents dictionary."""
421 if not path:
422 return {}
421 m = {}
423 m = {}
422 try:
424 try:
423 fp = open(path, 'r')
425 fp = open(path, 'r')
General Comments 0
You need to be logged in to leave comments. Login now