Commit.exports(): use #join (to work in Ruby 1.9)
authorNathan Stratton Treadway <nathanst@ontko.com>
Mon, 20 Aug 2012 21:00:36 +0000 (17:00 -0400)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 27 Aug 2012 21:42:55 +0000 (23:42 +0200)
commitff1f68899a20177fe2bd7e05efec683e4555c0f2
tree059a9d510d9aa47fa9ef389f0887c642cb67c030
parentfd254d5932e6bc85e01e5c6a4062b8b14e60cb3e
Commit.exports(): use #join (to work in Ruby 1.9)

When rcs-fast-export.rb was run in "directory" mode under Ruby 1.9, then
log messages that were output came out in "array" format rather than plain
text, as in
  ["log line 1\n","log line 2\n"]

Switching from ".to_s" to ".join" allows this to work in both Ruby 1.8 and
1.9.

(This is fix is similar to commit 3dbc2f0ee9e36444c6927ad1ec7dc163f08d6f2f
from Jan 12 2011, which makes a similar change to the log messages output
when the script processes a single RCS file.)
rcs-fast-export.rb