view tests/test-issue1089.t @ 36544:e71a3c0a90b0

templatekw: factor out function to build a list of files per status Removes copy-paste code before switching to the (context, mapping) API.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 25 Feb 2018 16:35:34 +0900
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 ..