From 7b52a1c0224e02f370ee5a8026ea0417434c37ea Mon Sep 17 00:00:00 2001 From: Peter Fern Date: Fri, 1 Jul 2016 15:21:58 +1000 Subject: [PATCH] Fix exclude arg (incorrectly quoted string) The quote in the appended `--ignore-paths` cmd argument is in the wrong place. Also add the conventional space in case of additional future args. --- lib/svn2git/migration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svn2git/migration.rb b/lib/svn2git/migration.rb index bd0f6b2..5158b7a 100755 --- a/lib/svn2git/migration.rb +++ b/lib/svn2git/migration.rb @@ -228,7 +228,7 @@ def clone! regex << "#{branches}[/][^/]+[/]" unless branches.nil? end regex = '^(?:' + regex.join('|') + ')(?:' + exclude.join('|') + ')' - cmd += "'--ignore-paths=#{regex}'" + cmd += "--ignore-paths='#{regex}' " end run_command(cmd, true, true)