I'm running the git-svn clone command against the subversion server as follows:
git svn clone svn: --no-metadata -A users.txt --stdlayout ~/temp
The message 'Checked through r0000' appears and the revision number increases up to r8200 and then pauses. After about 30 seconds the commands prompt re-appears and I have the makings of a git repository in the temp directory but it contains no actual source code files.
How can I get more information on what is happening?
I have tried the git-svn from both a windows and a linux client. On windows it is version 1.8.1, on linux it is 1.7.10.4
# Clone a repo with standard SVN directory layout (like git clone): git svn clone http://svn.example.com/project --stdlayout --prefix svn/ # Or, if the repo uses a non-standard directory layout: git svn clone http://svn.example.com/project -T tr -b branch -t tag --prefix svn/ # View all branches and tags you have ...
Beware that the conversion process can take a significant amount of time for larger repositories, even when cloning from a local SVN repository. As a benchmark, converting a 400MB repository with 33,000 commits on main took around 12 hours to complete.
No interaction between them. Just ignore the . git folder for SVN and the . svn folder for Git and you should be fine.
I had the same error/behaviour and eventually i realized that the svn path i used in my command included the \trunk
folder. Once i used the parent folder instead it started to work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With