]>
Commit | Line | Data |
---|---|---|
1074e10d ER |
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 | |
3 | @@ -100,7 +100,7 @@ | |
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(/^\/+/, "") | |
9 | ||
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}')" |