P3D3::Graph mislinks "orphaned" revisions to rev 1

Issue #219 open
Brian Panulla
created an issue

Through a crazy multi-step conversion from SVN, my Hg repository has some discontinuities in the timeline. Two revisions have null parent IDs (rev -1) as shown by glog:

{{{ o changeset: 17:109b0f24b578 parent: -1:000000000000 user: me date: Fri May 28 17:12:10 2010 +0000 summary: Starting repository restructure. }}} MacHg shows these revisions has having revision 1 as parent, which is not true.

Comments (7)

  1. Jason Harris repo owner
    • changed status to open

    I don't even know how to generate such a repository off the top of my head! Can you send or put a repository somewhere that has this parent.

    Thanks! Jas

  2. Brian Panulla reporter

    My repo is admittedly a weird case, but on a hunch I was able to satisfactorily replicate this behavior using two repositories and force-pushing unrelated changesets from one to the other. See testrepo in the attached archive - it contains two changesets that originated in testrepo2 that I force-pushed into it via:

    hg push -f -r1 ../testrepo
    

    MacHg does the same thing when I browse testrepo.

  3. Log in to comment