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: Tue, 06 Jul 2010 23:10:00 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; de; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5

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.

Stay tuned and thanks for the report,
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]