tests/test-issue1089.t
author Pulkit Goyal <7895pulkit@gmail.com>
Fri, 29 Dec 2017 05:47:17 +0530
changeset 35586 fbf1a5d680ea
parent 35393 4441705b7111
child 49621 55c6ebd11cb9
permissions -rw-r--r--
py3: don't use dict.iterkeys() Instead of iterating of dict.iterkeys(), let's iterate of dict as that will be equivalent and dict.iterkeys() is not present in Python 3. Differential Revision: https://phab.mercurial-scm.org/D1796

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