tests/test-issue1089.t
author Boris Feld <boris.feld@octobus.net>
Wed, 15 Aug 2018 12:09:14 +0200
changeset 39152 3b1042cab4b4
parent 35393 4441705b7111
child 49621 55c6ebd11cb9
permissions -rw-r--r--
revlog: add a method to retrieve snapshot depth Some snapshot property (eg: maximum size) will depend on their depth.

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
  $ 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 ..