tests/test-issue1089.t
author Pulkit Goyal <7895pulkit@gmail.com>
Mon, 25 Dec 2017 15:56:07 +0530
changeset 37029 e2a0aaec7d86
parent 35400 4441705b7111
child 49585 55c6ebd11cb9
permissions -rw-r--r--
commands: use keyword arguments in update function This will help us in having a dictionary with the values of all the arguments and we can add more flags without adding an argument to the function. Differential Revision: https://phab.mercurial-scm.org/D2896

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