1 --- collect_diffs.rb.org 2004-12-11 21:38:10.000000000 +0100
2 +++ collect_diffs.rb 2004-12-11 21:46:35.235302401 +0100
4 def collect_antique_style_args(cvs_info)
5 # remove leading slashes that may appear due to the user entering trailing
6 # slashes in their CVSROOT specification
7 - cvs_info.sub!(/^\/+/, "")
8 + cvs_info = cvs_info.sub(/^\/+/, "")
10 unless cvs_info.slice(0, $repository_path.length+1) == "#{$repository_path} "
11 fail "calculated repository path ('#{$repository_path}') doesn't match start of command line arg ('#{cvs_info}')"