newlib.git: cvs-to-git mirror imminent

Jim Meyering jim@meyering.net
Mon Oct 17 09:26:00 GMT 2011


Eric Blake wrote:
> On 10/14/2011 01:21 PM, Jim Meyering wrote:
>> Roland McGrath wrote:
>>> Thanks very much, Jim!
>>>
>>> Is it not possible to have hand-pushed git branches coexist in a repository
>>> with cvs-mirrored ones?
>>
>> Sure, that works.  Just be sure never to modify or create
>> a branch that will ever be updated by the mirroring process.
>
> Can't you enforce that with server-side hooks, making all attempts to
> modify the head of any of the mirrored branch fail unless it is the
> cvs-mirroring doing the modification?

Sure, I could do most of it, assuming we could require that
all new branches would be of a certain form guaranteed never
to conflict with the name of a new CVS branch.
But that'd be more work.

However, seeing that gdb and binutils mirrors have survived
without such a hook, I'm not worried.



More information about the Newlib mailing list