tests/test-revert-flags.t
author Kevin Bullock <kbullock+mercurial@ringworld.org>
Thu, 06 Jul 2017 14:33:48 -0500
changeset 33287 e26a3adc8f5c
parent 22046 7a9cbb315d84
permissions -rw-r--r--
tests: clean up a newly-introduced instance of `python` Differential Revision: https://phab.mercurial-scm.org/D16

#require execbit

  $ hg init repo
  $ cd repo
  $ echo foo > foo
  $ chmod 644 foo
  $ hg ci -qAm '644'

  $ chmod 755 foo
  $ hg ci -qAm '755'

reverting to rev 0

  $ hg revert -a -r 0
  reverting foo
  $ hg st
  M foo
  $ hg diff --git
  diff --git a/foo b/foo
  old mode 100755
  new mode 100644

  $ cd ..