##// END OF EJS Templates
branchmap: add a copy method...
Pierre-Yves David -
r18232:dd0b636b default
parent child Browse files
Show More
@@ -117,6 +117,9 b' class branchcache(dict):'
117 except IndexError:
117 except IndexError:
118 return False
118 return False
119
119
120 def copy(self):
121 """return an deep copy of the branchcache object"""
122 return branchcache(self, self.tipnode, self.tiprev, self.filteredhash)
120
123
121 def write(self, repo):
124 def write(self, repo):
122 try:
125 try:
General Comments 0
You need to be logged in to leave comments. Login now