monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Possible bug in `mtn log`?


From: Thomas Keller
Subject: Re: [Monotone-devel] Possible bug in `mtn log`?
Date: Fri, 09 Jul 2010 10:19:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.9) Gecko/20100317 SUSE/3.0.4-1.1.1 Lightning/1.0b2pre Thunderbird/3.0.4

Am 07.07.2010 00:54, schrieb Thomas Keller:
> Am 06.07.10 23:10, schrieb Thomas Keller:
>> Am 06.07.10 19:15, schrieb "Marcin W. Dąbrowski":
>>> Hi.
>>>
>>> Today I hit something weird, when trying to see the history of one
>>> of the files in my repository - `mtn log filename.ext` is showing
>>> logs for other files than 'filename.ext'.
>>>
>>> I tried to find minimal case, and running the sequence you can see
>>> presented below hits the "bug" - or to say this in other words —
>>> it shows not exactly the information I'd like to see.
>>> [snip]
>>> I see two changelogs printed. I don't know why I see the changelog
>>> for example.txt, nor why the order is chronological (normally it
>>> should be reverse chronology - usually it is).
>>>
>>> So - is this by design (no, really?), or a bug?
>>
>> I think this is a fall-out of the new restrictions code which landed in
>> 0.48 (try out 0.47 and you see the expected behaviour). We now
>> implicitely include all parents of a node in a restriction and as such,
>> if you log "sec/second.txt", changes for "sec" and "" (the root node)
>> are also logged.
>>
>> I'll try out a fix and switch the restriction handling mode to what we
>> use also for 'revert', i.e. no implicit includes.
> 
> I committed a temporary fix in branch
> net.venge.monotone.restriction-fixes, but this is not ready for mainline
> yet, because it breaks one test, namely log_--diffs.

This issue has been resolved and the fix
(b0327e6eb8d1617b46a335111ef1677ad23287ae) landed in mainline.

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]