##// END OF EJS Templates
convert-repo: automatically create empty map file
Matt Mackall -
r1655:7bfd4724 default
parent child Browse files
Show More
@@ -171,9 +171,12 b' class convert:'
171 self.commitcache = {}
171 self.commitcache = {}
172
172
173 self.map = {}
173 self.map = {}
174 for l in file(self.mapfile):
174 try:
175 sv, dv = l[:-1].split()
175 for l in file(self.mapfile):
176 self.map[sv] = dv
176 sv, dv = l[:-1].split()
177 self.map[sv] = dv
178 except IOError:
179 pass
177
180
178 def walktree(self, heads):
181 def walktree(self, heads):
179 visit = heads
182 visit = heads
General Comments 0
You need to be logged in to leave comments. Login now