[PATCH 11 of 14] test-import: remove unneeded chmod call

Adrian Buehlmann adrian at cadifra.com
Fri Jun 8 08:18:51 CDT 2012


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1339161065 -7200
# Node ID eabed06a6f125c710ddbb96f6061c866e8701b82
# Parent  cc8b62d715c6134e9bb7b0f6ae752d53fef1f1ee
test-import: remove unneeded chmod call

As pointed out by Mads, setting the x bit on dummypatch.py is unneeded, because
it is called with 'python ../dummypatch.py'.

diff --git a/tests/test-import.t b/tests/test-import.t
--- a/tests/test-import.t
+++ b/tests/test-import.t
@@ -54,7 +54,6 @@
   > print 'patching file a'
   > file('a', 'wb').write('line2\n')
   > EOF
-  $ chmod +x dummypatch.py
   $ hg clone -r0 a b
   adding changesets
   adding manifests


More information about the Mercurial-devel mailing list