monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] [bug #29576] mtn tries to rewrite options file ever


From: Thomas Keller
Subject: Re: [Monotone-devel] [bug #29576] mtn tries to rewrite options file every time
Date: Sun, 18 Apr 2010 22:40:11 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b2pre Thunderbird/3.0.4

Am 18.04.10 21:14, schrieb Derek Scherger:
> On Sat, Apr 17, 2010 at 4:53 PM, Derek Scherger <address@hidden
> <mailto:address@hidden>> wrote:
> 
>     How about something simple:just before writing out a new
>     _MTN/options read in the current one and see if there is any
>     difference between what is about to be written and what is already
>     written, then only write out new options if there are *actual*
>     changes. This should be entirely compatible with what we do now, but
>     will avoid affecting the last modification time when nothing is
>     actually changed.
> 
> 
> Fixed in 5f00cba58b8c3feb72d6de28e94610a42e30465b. This has been bugging
> me for a while too so thanks for the motivation Jack.

Heh, very cool, thanks Derek! Does this code change also fix the problem
that _MTN/options is written out even if the command does not succeed?

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]