This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: commitinfo script to check policy, issue warnings (and/or abort commit)


import is all very fine in theory. There are two large stumbling blocks 
though, which make it VERY annoying.

* the cvs program is a complete nitwit when it comes to merging stuff imported 
on vendor branches. It's very good at resurrecting stuff that's been 
completely forgotten about, and that you eradicated yourself. The suggestions
it gives for facilitating the merge are erroneous at best.

* cvs can't import to anything but HEAD.

* cvs can't import to anything but HEAD.

* cvs can't import to anything but HEAD.

* cvs can't import to anything but HEAD.


The first issue is already a large pain. I've been routinely using vendor
branches to import gcc/gdb/binutils to OpenBSD, and believe me, it's a real
pain, thanks to the size of those projects (try bringing back the testsuite
from 2.8 when it isn't include in 2.95, for instance, or go on removing 
umpteen files that have been eradicated since then and that `import' insists
on bringing back to life.

The second issue is completely brain-dead. It just means that in many cases,
you have the choice of creating an entire new tree for experimental work,
or forgetting about import entirely.


Trying to do advanced things with cvs is likely to bring major pain. There is
no decent free alternative right now, but getting cute with cvs is a MAJOR
loss...

This is just a warning...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]