[PATCH 1 of 2 V2] test-import: remove unneeded chmod call

Adrian Buehlmann adrian at cadifra.com
Tue Jun 5 13:43:52 UTC 2012


# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1338902539 -7200
# Node ID 1178e9038adfff9bb0b798d1c0f7bf3e6ce215de
# Parent  2e7dda59cb0eebd5bc467e83d0a1c03be4361aff
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