view tests/test-issue1089.t @ 39089:3ff9d2ec6d88

add: add a label for messages about added files Keeping consistency between addremove and add seems a good idea.
author Boris Feld <boris.feld@octobus.net>
date Tue, 14 Aug 2018 11:15:05 +0200
parents 4441705b7111
children 55c6ebd11cb9
line wrap: on
line source

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