Show More
@@ -61,6 +61,9 b" configitem('convert', 'git.renamelimit'," | |||||
61 | configitem('convert', 'git.saverev', |
|
61 | configitem('convert', 'git.saverev', | |
62 | default=True, |
|
62 | default=True, | |
63 | ) |
|
63 | ) | |
|
64 | configitem('convert', 'git.similarity', | |||
|
65 | default=50, | |||
|
66 | ) | |||
64 |
|
67 | |||
65 | # Commands definition was moved elsewhere to ease demandload job. |
|
68 | # Commands definition was moved elsewhere to ease demandload job. | |
66 |
|
69 |
@@ -81,7 +81,7 b' class convert_git(common.converter_sourc' | |||||
81 | path) |
|
81 | path) | |
82 |
|
82 | |||
83 | # The default value (50) is based on the default for 'git diff'. |
|
83 | # The default value (50) is based on the default for 'git diff'. | |
84 |
similarity = ui.configint('convert', 'git.similarity' |
|
84 | similarity = ui.configint('convert', 'git.similarity') | |
85 | if similarity < 0 or similarity > 100: |
|
85 | if similarity < 0 or similarity > 100: | |
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: |
General Comments 0
You need to be logged in to leave comments.
Login now