view tests/test-extra-filelog-entry.t @ 43001:675a925b556d

upgrade: fix handling of `.d` data file The test did not used any `.d` file. So of course, their handling was broken (for vfs encoding reason again). We fix the issue and update the test. Note that some fncache issue remains with `.d` file. It will be taken care of in the next changesets. Differential Revision: https://phab.mercurial-scm.org/D6904
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 27 Sep 2019 21:32:56 +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