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 | [email protected] | 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

_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to