Skip to content

Use global $stdin instead of local variable #284

Open
@sagiru

Description

@sagiru

The stdin bypass will use a local variable stdin instead of $stdin and
it will result in the following error:

''''
Traceback (most recent call last):
2: from /usr/lib/ruby/vendor_ruby/svn2git/migration.rb:432:in block (2 levels) in run_command' 1: from /usr/lib/ruby/vendor_ruby/svn2git/migration.rb:432:in loop'
/usr/lib/ruby/vendor_ruby/svn2git/migration.rb:438:in block (3 levels) in run_command': undefined local variable or method stdin' for #Svn2Git::Migration:0x0000555b7c945cc8 (NameError)
Did you mean? String
''''
If will file a merge request to fix it.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905832

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