Using hg convert to convert git repo to old svn format

According to the following post:

  • git pre-commit hook format code - Intellij/Android Studio
  • How can I get git log to print the full hash and short stats of each commit on one line?
  • git log formatting
  • How to get only the git date format as YYYY/MM/DD?
  • git log pretty format
  • Lost .svn/format, what to do?
  • a git repo can be converted to an svn repo using hg convert. This works for me, however, the resulting svn repo is to modern for me. The db/format number for the resulting svn repo is 6 (svn 1.8+). I need it to be 4 (1.6+), an older version of svn that is. Is there a way to specify for hg convert to convert to a specified db/format number?

    Or, is there another way for me to convert my git repo to svn db/format 4 (1.6+)?

  • Why can't I push to the try_git.git repository?
  • Check if other files were modified in a commit series in git
  • git push -u origin --all does not work anymore
  • Why is git merging things which I have not modified?
  • Limitations on forking from a GIT repo created with GIT-SVN?
  • Why is this a bad config line for my .gitconfig?
  • One Solution collect form web for “Using hg convert to convert git repo to old svn format”

    You can use a current version of Subversion to dump the repository into a version-agnostic format (svnadmin dump), then use the older version of Subversion to load that dumpfile into a new repository (svnadmin load).

    Otherwise, I would suggest finding older versions of the hg & git based tools that support that older version of Subversion.

    Git Baby is a git and github fan, let's start git clone.