nirvdrum / svn2git

Ruby tool for importing existing svn projects into git.
MIT License
2.11k stars 443 forks source link

Use global $stdin instead of local variable #284

Open sagiru opened 5 years ago

sagiru commented 5 years ago

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:inloop' /usr/lib/ruby/vendor_ruby/svn2git/migration.rb:438:in block (3 levels) in run_command': undefined local variable or methodstdin' for # (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

lhuria94 commented 4 years ago

Did you find a solution for this?

VenkeyK commented 4 years ago

Hi, Does anyone find a solution for the above error?

sagiru commented 4 years ago

Hi, Does anyone find a solution for the above error?

Hi,

i filed a pullrequest (285), maybe it's helpful.

Regards Sascha