monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Quick poll: Does anybody actually still use diff wi


From: Thomas Keller
Subject: Re: [Monotone-devel] Quick poll: Does anybody actually still use diff with --external?
Date: Wed, 12 Jan 2011 00:24:57 +0100
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.2.13) Gecko/20101129 Lightning/1.0b3pre Thunderbird/3.1.7

Am 09.01.11 12:34, schrieb CooSoft Support:
> I have probably completely misunderstood but...
> 
> If I understand you correctly your multimap would store the raw output
> of the diff. Could one not store the essential arguments to the
> dump_diff() call instead of the diff output (say the two paths and file
> ids but _not_ the file content (which can easily be retrieved when
> needed))? Then iterate through your sorted multimap calling get_data(),
> lua.hook_get_encloser_pattern() and lastly dump_diff(). That way each
> node in the multimap would contain a lot less data than a diff output,
> addressing Richard's concern, and it would also mean that you wouldn't
> have to worry about capturing the output of external diff operations as
> they would be done in order and not require sorting.

Right, I could create a small temporary struct for that, I just hope I
don't go tabula rasa with the other code around. Lets see how it works
out - thanks for all your input.

Thomas.

-- 
GPG-Key 0x160D1092 | address@hidden | http://thomaskeller.biz
Please note that according to the EU law on data retention, information
on every electronic information exchange might be retained for a period
of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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