Skip to content

how to trouble shoot svb2git #321

Open
@cjohnshu

Description

@cjohnshu

I use ruby svn2git.
I have the following error

F:\PRJ\dba>svn2git svn://localhost/ --prefix=svn/ --trunk / --nobranches --notags --authors dba_authors.txt
D:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/svn2git-2.4.0/lib/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 D:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/svn2git-2.4.0/lib/svn2git/migration.rb:14:in initialize' from D:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/svn2git-2.4.0/bin/svn2git:26:in new'
from D:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/svn2git-2.4.0/bin/svn2git:26:in <top (required)>' from D:/Ruby32-x64/bin/svn2git:32:in load'
from D:/Ruby32-x64/bin/svn2git:32:in `

'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions