emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bazaar references complicate the git transition


From: David Kastrup
Subject: Re: Bazaar references complicate the git transition
Date: Sat, 11 Jan 2014 18:46:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

"Eric S. Raymond" <address@hidden> writes:

> David Reitter <address@hidden>:
>> Please do not alter history in the git repository.  This would be
>> bad for everyone downstream of the git mirror, and downright
>> catastrophic for projects like mine (with 50+ merges of the course
>> of years).
>
> I think I can work with you to prevent a catastrophe.  I've faced this
> kind of situation before, and I've built the best tools in existence 
> for coping with it.
>
>> Why not use the mechanism that is foreseen for revising commit
>> messages going forward?  Either "notes", as suggested, or a separate
>> file (like the Changelog file).  If and when someone needs to
>> resolve a reference, it could be easily done manually or
>> automatically.
>
> I know from lots of previous experience with messy conversions (NUT,
> Hercules, Roundup, groff, and a number of others) that these sorts of
> halfway-out-of-band mechanisms are fragile and *never* work as well as
> advertised.  The pain you think you are avoiding with them will come 
> back redoubled.

Actually, a plain text file mapping bazar revision numbers to git commit
ids will work exactly as well as advertised.

sed -n 's/^4535 //p' BZR-REVISIONS

will do what is expected and can be utilized in scripts or whatever.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]