tests/test-issue1089.t
author Yuya Nishihara <yuya@tcha.org>
Sun, 25 Feb 2018 11:20:35 +0900
changeset 36413 f493829b74dd
parent 35393 4441705b7111
child 49621 55c6ebd11cb9
permissions -rw-r--r--
histedit: use repo.revs() instead of repo.set() where revisions are needed Follows up 72da480db4a5. This is just a micro optimization, but looks slightly nicer.

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