Show More
@@ -35,6 +35,7 b' from mercurial import (' | |||||
35 | scmutil, |
|
35 | scmutil, | |
36 | smartset, |
|
36 | smartset, | |
37 | util, |
|
37 | util, | |
|
38 | vfs as vfsmod, | |||
38 | ) |
|
39 | ) | |
39 |
|
40 | |||
40 | class TransplantError(error.Abort): |
|
41 | class TransplantError(error.Abort): | |
@@ -60,7 +61,7 b' class transplants(object):' | |||||
60 | self.opener = opener |
|
61 | self.opener = opener | |
61 |
|
62 | |||
62 | if not opener: |
|
63 | if not opener: | |
63 |
self.opener = |
|
64 | self.opener = vfsmod.vfs(self.path) | |
64 | self.transplants = {} |
|
65 | self.transplants = {} | |
65 | self.dirty = False |
|
66 | self.dirty = False | |
66 | self.read() |
|
67 | self.read() | |
@@ -103,7 +104,7 b' class transplanter(object):' | |||||
103 | def __init__(self, ui, repo, opts): |
|
104 | def __init__(self, ui, repo, opts): | |
104 | self.ui = ui |
|
105 | self.ui = ui | |
105 | self.path = repo.join('transplant') |
|
106 | self.path = repo.join('transplant') | |
106 |
self.opener = |
|
107 | self.opener = vfsmod.vfs(self.path) | |
107 | self.transplants = transplants(self.path, 'transplants', |
|
108 | self.transplants = transplants(self.path, 'transplants', | |
108 | opener=self.opener) |
|
109 | opener=self.opener) | |
109 | def getcommiteditor(): |
|
110 | def getcommiteditor(): |
General Comments 0
You need to be logged in to leave comments.
Login now