tests/test-revert-flags.t
author Manuel Jacob <me@manueljacob.de>
Tue, 09 Jun 2020 05:24:45 +0200
branchstable
changeset 44802 6c8384afbf77
parent 22046 7a9cbb315d84
permissions -rw-r--r--
resourceutil: fix location of line comments These comments slipped out of position when the sources where formatted with black in 2372284d9457.

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