Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix crash with Ruby-3.2 #333

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sudipm-mukherjee
Copy link

svn2git fails to work with Ruby-3.2 and gives the following error:

/usr/lib/ruby/vendor_ruby/svn2git/migration.rb:58:in `parse': undefined method `exists?' for File:Class (NoMethodError)

      if File.exists?(File.expand_path(DEFAULT_AUTHORS_FILE))
             ^^^^^^^^
Did you mean?  exist?
	from /usr/lib/ruby/vendor_ruby/svn2git/migration.rb:14:in `initialize'
	from /usr/bin/svn2git:26:in `new'
	from /usr/bin/svn2git:26:in `<main>'

Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant