view tests/test-issue1089.t @ 15070:e4c65158b5e7 stable

keyword: preserve file mode when overwriting
author Christian Ebert <blacktrash@gmx.net>
date Thu, 08 Sep 2011 19:30:25 +0100
parents b63f6422d2a7
children 9910f60a37ee
line wrap: on
line source

http://mercurial.selenic.com/bts/issue1089

  $ 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