##// END OF EJS Templates
configitems: register the 'convert.git.findcopiesharder' config
Boris Feld -
r34158:3e3327ce default
parent child Browse files
Show More
@@ -49,6 +49,9 b" configitem('convert', 'git.committeracti"
49 49 configitem('convert', 'git.extrakeys',
50 50 default=list,
51 51 )
52 configitem('convert', 'git.findcopiesharder',
53 default=False,
54 )
52 55
53 56 # Commands definition was moved elsewhere to ease demandload job.
54 57
@@ -86,8 +86,7 b' class convert_git(common.converter_sourc'
86 86 raise error.Abort(_('similarity must be between 0 and 100'))
87 87 if similarity > 0:
88 88 self.simopt = ['-C%d%%' % similarity]
89 findcopiesharder = ui.configbool('convert', 'git.findcopiesharder',
90 False)
89 findcopiesharder = ui.configbool('convert', 'git.findcopiesharder')
91 90 if findcopiesharder:
92 91 self.simopt.append('--find-copies-harder')
93 92
General Comments 0
You need to be logged in to leave comments. Login now