Skip to content

Commit

Permalink
Fix error when using '--exclude' option.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Ramnani committed Mar 31, 2010
1 parent 955e20e commit 3462800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/svn2git/migration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,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)

Expand Down

0 comments on commit 3462800

Please sign in to comment.