##// END OF EJS Templates
transplant: pass source through to recover
Bryan O'Sullivan -
r18926:8deaa703 default
parent child Browse files
Show More
@@ -297,7 +297,7 b' class transplanter(object):'
297 297 def resume(self, repo, source, opts):
298 298 '''recover last transaction and apply remaining changesets'''
299 299 if os.path.exists(os.path.join(self.path, 'journal')):
300 n, node = self.recover(repo, opts)
300 n, node = self.recover(repo, source, opts)
301 301 self.ui.status(_('%s transplanted as %s\n') % (short(node),
302 302 short(n)))
303 303 seriespath = os.path.join(self.path, 'series')
@@ -312,7 +312,7 b' class transplanter(object):'
312 312
313 313 self.apply(repo, source, revmap, merges, opts)
314 314
315 def recover(self, repo, opts):
315 def recover(self, repo, source, opts):
316 316 '''commit working directory using journal metadata'''
317 317 node, user, date, message, parents = self.readlog()
318 318 merge = False
General Comments 0
You need to be logged in to leave comments. Login now