Merged r4743 from trunk.
scm: darcs: change io.gets to io.read and add darcs version unit test.
Authored by: tmaruyama 2011-01-23
Parent: [r4745]
Child: [r4747]