--- a/tests/test-convert-git.t Mon Jul 14 12:44:45 2014 -0500
+++ b/tests/test-convert-git.t Mon Jul 14 23:33:59 2014 +0900
@@ -363,6 +363,23 @@
$ cd ../..
+convert the revision removing '.gitmodules' itself (and related
+submodules)
+
+ $ cd git-repo6
+ $ git rm .gitmodules
+ rm '.gitmodules'
+ $ git rm --cached git-repo5
+ rm 'git-repo5'
+ $ commit -a -m 'remove .gitmodules and submodule git-repo5'
+ $ cd ..
+
+ $ hg convert -q git-repo6 git-repo6-hg
+ $ hg -R git-repo6-hg tip -T "{desc|firstline}\n"
+ remove .gitmodules and submodule git-repo5
+ $ hg -R git-repo6-hg tip -T "{file_dels}\n"
+ .hgsub .hgsubstate
+
damaged git repository tests:
In case the hard-coded hashes change, the following commands can be used to
list the hashes and their corresponding types in the repository: