un-reachable revisions from filelog

Matt Mackall mpm at selenic.com
Wed Apr 28 02:01:01 CDT 2010


On Wed, 2010-04-28 at 15:18 +0900, FUJIWARA Katsunori wrote:
> Hi, devels.
> 
> In one of my hg repos, there are some un-reachable revisions when I
> specify exact filename to "hg log".
> 
> But such revisions are visible from "hg log" if target file is not
> specified, and:
> 
>     - "hg log -v" says that they modify target file
>     - "hg diff" generates expected output for target file
> 
> so, recorded history seems to be not so(but a little) damaged.
> 
> I found that file contexts for target file of un-reachable revisions
> point to same filerev. So, scan based on filelog(= "hg log" with
> filename speicification) can not show such revisions.

Yup. There is no damage, just Mercurial being weird about walking
filelogs.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list