view tests/test-issue1089.t @ 32539:447bbd970047

cmdutil: extract function checking if pattern should be taken as stdin/out This will be used in commands.cat().
author Yuya Nishihara <yuya@tcha.org>
date Thu, 25 May 2017 21:28:08 +0900
parents 2fc86d92c4a9
children 4441705b7111
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 (glob)
  $ 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 (glob)
  $ cd b

Relative delete:

  $ hg ci -m m ../a

  $ cd ..