[PATCH] histedit: remove history_source

Augie Fackler raf at durin42.com
Thu Jul 31 07:03:03 CDT 2014


On Jul 30, 2014, at 2:54 PM, Siddharth Agarwal <sid at less-broken.com> wrote:

> On 07/30/2014 11:21 AM, Pierre-Yves David wrote:
>> 
>> This change is actually useful for at least two things:
>> 
>> 1) keeping relevant meta data when using --keep
>> 2) Ensuring the a pure happen only history creation. A property hihgly critical to any distributed system
>> 
>> Doesn't git have a way to quietly store arbitraty metadata?
> 
> There are Git notes, but they're not an input to the commit hash so storing hg metadata in there would mean hg-git loses its 1:1 mapping between Mercurial and Git revisions. Other than that I'm not aware of anything.

I did just notice that a noop histedit seemed to rewrite shas - that's definitely a bug that we should fix.

(I was in the middle of a big project, so I didn't pursue it when I saw it.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140731/d1a0cbc2/attachment.pgp>


More information about the Mercurial-devel mailing list