Skip to content

Commit be289ea

Browse files
authored
Merge pull request #223 from pdf/fix_exclude
Fix exclude arg (incorrectly quoted string)
2 parents 526df23 + 7b52a1c commit be289ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/svn2git/migration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def clone!
228228
regex << "#{branches}[/][^/]+[/]" unless branches.nil?
229229
end
230230
regex = '^(?:' + regex.join('|') + ')(?:' + exclude.join('|') + ')'
231-
cmd += "'--ignore-paths=#{regex}'"
231+
cmd += "--ignore-paths='#{regex}' "
232232
end
233233
run_command(cmd, true, true)
234234

0 commit comments

Comments
 (0)