--- a/tests/test-convert-svn-sink.t Thu Feb 07 18:57:54 2019 +0300
+++ b/tests/test-convert-svn-sink.t Thu Feb 07 21:48:50 2019 +0300
@@ -467,6 +467,45 @@
A /a
$ rm -rf a a-hg a-hg-wc
+#if execbit
+
+Executable bit removal
+
+ $ hg init a
+
+ $ echo a > a/exec
+ $ chmod +x a/exec
+ $ hg --cwd a ci -d '1 0' -A -m 'create executable'
+ adding exec
+ $ chmod -x a/exec
+ $ hg --cwd a ci -d '2 0' -A -m 'remove executable bit'
+
+ $ hg convert -d svn a
+ assuming destination a-hg
+ initializing svn repository 'a-hg'
+ initializing svn working copy 'a-hg-wc'
+ scanning source...
+ sorting...
+ converting...
+ 1 create executable
+ 0 remove executable bit
+ $ svnupanddisplay a-hg-wc 0
+ 2 2 test .
+ 2 2 test exec
+ revision: 2
+ author: test
+ msg: remove executable bit
+ M /exec
+ revision: 1
+ author: test
+ msg: create executable
+ A /exec
+ $ test ! -x a-hg-wc/exec
+
+ $ rm -rf a a-hg a-hg-wc
+
+#endif
+
Skipping empty commits
$ hg init a