tests/test-issue1089.t
author Arseniy Alekseyev <aalekseyev@janestreet.com>
Fri, 09 Jun 2023 14:32:09 +0100
branchstable
changeset 50691 ba602ddcb296
parent 49621 55c6ebd11cb9
permissions -rw-r--r--
ui: fix crash in `hg paths` when pulled-delta-reuse-policy is in use The crash is a result of [value] being an int, but being used as a bytestring.

https://bz.mercurial-scm.org/1089

  $ hg init repo
  $ cd repo
  $ mkdir a
  $ echo a > a/b
  $ hg ci -Am m
  adding a/b

  $ hg rm a
  removing a/b
  $ hg ci -m m a

  $ mkdir a b
  $ echo a > a/b
  $ hg ci -Am m
  adding a/b

  $ hg rm a
  removing a/b
  $ cd b

Relative delete:

  $ hg ci -m m ../a

  $ cd ..