Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 11:46:15 +0100
From:      "Peter Klausner" <peter.klausner@systor.com>
To:        freebsd-cvsweb@FreeBSD.org
Subject:   Patch for vendor branch tags
Message-ID:  <OFB272E826.8229419D-ONC1256CB4.00385A17@systor.com>

next in thread | raw e-mail | index | archive | help
Using vendor branch tags of CVS, I run into a bug:

If you do a "normal" cvs import,
the stuff shows up on the branch 1.1.1, named "vendor"
For multiple vendors,
you add branches 1.1.x named "vendorx".

The cvs log view of a file does show all the vendor tags
and branch numbers,
but if you restrict the view to such a branch,
the directory always will be empty.

Here is a patch agains 2.0.6 which seems to fix the problem;
although I don't really understand what is going on.

HTH + Bye,
Peter Klausner


PS:   most of the diff is due to the debug output;
      I changed the raw print do sth. redirectable.
      The decisive change is:

!     if (($revwanted eq '' || $revwanted =~ /^1\.1\.\d+$/)
!     && $branch ne ''
      && $branch eq $revbranch || !defined($tag))
      {
!           DBG "File revision $rev found for branch $branch\n";
            $revwanted = $rev;
      }


PPS:  I realized, that the current cvsweb.cgi
      has zillions of changes relative to the
      latest stable release 2.0.6.
It seems, that 95% of those changes are only
due to indentation and reformatting.
It is futile to discuss coding style,
but I think such _changes_ greatly reduce
the usefulness of CVS - and cvsweb.
So the cvsweb sources should not give
a negative example here...



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-cvsweb" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OFB272E826.8229419D-ONC1256CB4.00385A17>