##// END OF EJS Templates
transplant: remove a mutable default argument...
Pierre-Yves David -
r26346:2449a0a6 default
parent child Browse files
Show More
@@ -117,8 +117,10 class transplanter(object):
117 117 return True
118 118 return False
119 119
120 def apply(self, repo, source, revmap, merges, opts={}):
120 def apply(self, repo, source, revmap, merges, opts=None):
121 121 '''apply the revisions in revmap one by one in revision order'''
122 if opts is None:
123 opts = {}
122 124 revs = sorted(revmap)
123 125 p1, p2 = repo.dirstate.parents()
124 126 pulls = []
General Comments 0
You need to be logged in to leave comments. Login now