tests/test-issue1089.t
author Yuya Nishihara <yuya@tcha.org>
Tue, 05 Dec 2017 21:50:33 +0900
changeset 35248 c752fbe228fb
parent 26420 2fc86d92c4a9
child 35393 4441705b7111
permissions -rw-r--r--
repoview: extract a factory function of proxy class This makes sure that dynamically-created class objects are isolated from local binding of repo instances. The type cache is moved to module level as it isn't tied to each instance.

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

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

  $ hg rm a
  removing a/b (glob)
  $ 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 (glob)
  $ cd b

Relative delete:

  $ hg ci -m m ../a

  $ cd ..