Using hg convert to convert git repo to old svn format
According to the following post:
- Python package install using pip or easy_install from repos
- Using a wiki as a central development project repository
- Release management in SVN
- svn merge: “Target path does not exist”
- SVN installation
- Intellij project hosted on GitHub showing up as a subversion project?
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+)?
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 (
Otherwise, I would suggest finding older versions of the hg & git based tools that support that older version of Subversion.