tests/test-extra-filelog-entry.t
author Matt Harbison <matt_harbison@yahoo.com>
Wed, 24 Jul 2024 22:40:22 -0400
changeset 51732 43460c311c0c
parent 49621 55c6ebd11cb9
permissions -rw-r--r--
typing: add trivial type hints to `mercurial.scmutil` There's still a lot to go, but there's a lot here already, so I tried to keep it to obvious/trivial things. I didn't bother with contexts, matchers, and revisions that can be `bytes | int | None`.

Issue351: mq: qrefresh can create extra revlog entry

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

  $ hg init repo
  $ cd repo
  $ 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