tests/test-extra-filelog-entry.t
author Pierre-Yves DAVID <pierre-yves.david@octobus.net>
Wed, 01 Jun 2022 01:13:13 +0200
changeset 49252 4141951dacff
parent 49251 ccd76e292be5
child 49621 55c6ebd11cb9
permissions -rw-r--r--
debugindex: rename the parent column to mention nodeid We will add new columns with the "revnum" version of the parent. It will be useful in case we need to inspect a corrupted revlog index.

Issue351: mq: qrefresh can create extra revlog entry

  $ echo "[extensions]" >> $HGRCPATH
  $ echo "mq=" >> $HGRCPATH

  $ hg init
  $ hg qinit

  $ echo b > b
  $ hg ci -A -m foo
  adding b

  $ echo cc > b
  $ hg qnew -f foo.diff
  $ echo b > b
  $ hg qrefresh

  $ hg debugindex b
     rev linkrev       nodeid    p1-nodeid    p2-nodeid
       0       0 1e88685f5dde 000000000000 000000000000