##// 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 configitem('convert', 'git.extrakeys',
49 configitem('convert', 'git.extrakeys',
50 default=list,
50 default=list,
51 )
51 )
52 configitem('convert', 'git.findcopiesharder',
53 default=False,
54 )
52
55
53 # Commands definition was moved elsewhere to ease demandload job.
56 # Commands definition was moved elsewhere to ease demandload job.
54
57
@@ -86,8 +86,7 b' class convert_git(common.converter_sourc'
86 raise error.Abort(_('similarity must be between 0 and 100'))
86 raise error.Abort(_('similarity must be between 0 and 100'))
87 if similarity > 0:
87 if similarity > 0:
88 self.simopt = ['-C%d%%' % similarity]
88 self.simopt = ['-C%d%%' % similarity]
89 findcopiesharder = ui.configbool('convert', 'git.findcopiesharder',
89 findcopiesharder = ui.configbool('convert', 'git.findcopiesharder')
90 False)
91 if findcopiesharder:
90 if findcopiesharder:
92 self.simopt.append('--find-copies-harder')
91 self.simopt.append('--find-copies-harder')
93
92
General Comments 0
You need to be logged in to leave comments. Login now