Lines 100-106
Link Here
|
100 |
def collect_antique_style_args(cvs_info) |
100 |
def collect_antique_style_args(cvs_info) |
101 |
# remove leading slashes that may appear due to the user entering trailing |
101 |
# remove leading slashes that may appear due to the user entering trailing |
102 |
# slashes in their CVSROOT specification |
102 |
# slashes in their CVSROOT specification |
103 |
cvs_info.sub!(/^\/+/, "") |
103 |
cvs_info = cvs_info.sub(/^\/+/, "") |
104 |
|
104 |
|
105 |
unless cvs_info.slice(0, $repository_path.length+1) == "#{$repository_path} " |
105 |
unless cvs_info.slice(0, $repository_path.length+1) == "#{$repository_path} " |
106 |
fail "calculated repository path ('#{$repository_path}') doesn't match start of command line arg ('#{cvs_info}')" |
106 |
fail "calculated repository path ('#{$repository_path}') doesn't match start of command line arg ('#{cvs_info}')" |