Skip to content
Snippets Groups Projects
Commit 7887b976 authored by Matt Mackall's avatar Matt Mackall
Browse files

convert: deal with empty splicemap path (issue3311)

parent 0628290d
No related branches found
No related tags found
No related merge requests found
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment