]> git.pld-linux.org Git - packages/cvsspam.git/blob - cvsspam-trailing-cvsinfo-slash.patch
- wordwrap for css .comment class
[packages/cvsspam.git] / cvsspam-trailing-cvsinfo-slash.patch
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}')"
This page took 0.106985 seconds and 3 git commands to generate.