view tests/test-extra-filelog-entry.t @ 42508:c4d1807b165f stable

test: add some assert in the bookrace extension This cannot hurt to have a bit more security in the test extension.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 19 Jun 2019 17:26:16 +0200
parents d4e62df1c73d
children ccd76e292be5
line wrap: on
line source

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           p2
       0       0 1e88685f5dde 000000000000 000000000000