* src/svn-to-git/svn-to-git: Here, encountered during the
tentative conversion of the `lrde-seminars' Subversion repository
to a `csi-seminar' Git repository.
---
src/svn-to-git/svn-to-git | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/svn-to-git/svn-to-git b/src/svn-to-git/svn-to-git
index ad45a96..c052fa2 100755
--- a/src/svn-to-git/svn-to-git
+++ b/src/svn-to-git/svn-to-git
@@ -138,6 +138,13 @@ done
#
https://svn/svn-lrde/ ->
https://svn.lrde.epita.fr/svn/
#
https://svn.lrde.epita.fr/svn-lrde/ ->
https://svn.lrde.epita.fr/svn/
#
+
+# FIXME: The cache mechanism is broken: the MD5 sum encodes only the
+# URL (`ext_url') of the svn-external, while the path of the cached
+# exported external contains the path to the external in the host
+# repository (`ext_path'). Fix this, while retaining the capacitity
+# to handle non-directory externals.
+
env git_repo="$git_repo" tmp_dir="$tmp_dir" sed="$sed"
md5sum="$md5sum" \
git filter-branch -d "$tmp_dir/git-filter-branch" --tree-filter '
git svn show-externals -r $(git svn find-rev $GIT_COMMIT) \
--
1.7.10.4