git-svn

Getting error while migrating code from svn to git repository: Malformed network data: The XML response contains invalid XML: svn2git

拥有回忆 提交于 2020-08-06 08:11:09
问题 Ran command git svn clone "SVN URL". It works fine till 4568 commits, but then it gets after this commit giving the error stated in title. 回答1: this seems to be because the default log-window-size is too small. When you get error, from the new git repo, try running: git svn fetch --log-window-size=4000 You can experiment with the actual number, but 4000 was the magic number for me. 回答2: git-svn is not the right tool for one-time conversions of repositories. It is a great tool if you want to

How do I completely uninstall git from my Linux Machine

自作多情 提交于 2020-07-20 17:30:32
问题 I had installed git by downloading the tar ball and then doing the following steps ./configure --prefix=/scratch/custom/git make make install But after running these commands, I still see that git is created under /usr/local as below bash-4.1$ whereis git git: /usr/bin/git /usr/local/git /usr/share/man/man1/git.1.gz I would like to remove and reinstall again how do i do the same? 回答1: If make unistall doesn't work, as mentioned here, uninstalling on linux, try make install again, capturing

How do I completely uninstall git from my Linux Machine

China☆狼群 提交于 2020-07-20 17:27:38
问题 I had installed git by downloading the tar ball and then doing the following steps ./configure --prefix=/scratch/custom/git make make install But after running these commands, I still see that git is created under /usr/local as below bash-4.1$ whereis git git: /usr/bin/git /usr/local/git /usr/share/man/man1/git.1.gz I would like to remove and reinstall again how do i do the same? 回答1: If make unistall doesn't work, as mentioned here, uninstalling on linux, try make install again, capturing

Cloning a git-svn repository leads to “disappearing” branches

六月ゝ 毕业季﹏ 提交于 2020-06-28 05:49:07
问题 Foreword We have a big SVN repository (200k+ commits and hundreds of branches and tags). A big, ominous, unmaintainable, frustrating mess. To work more efficiently, about a year ago I did a git svn clone on my development machine, so I locally develop on GIT and then push to SVN. We're now thinking about splitting up the repository and move the main development branches to git, or at least to move our development branch on git. Since I have my local git repository, I wanted to do some test by

Assertion failed on git-svn checkout

霸气de小男生 提交于 2020-06-23 05:50:18
问题 I'm trying to checkout a svn repository with git using the following command on Windows 7: git.exe svn clone "https://..." "D:\repo" However, no matter what other options I try to use, the following error occurs: svn: E235000: In file 'subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c' line 1666: assertion failed (get_current_pool_cb != NULL) I am using the newest git version 2.27.0 Any ideas what could be the issue here? Is ist possible, that the https authentication of the svn

Assertion failed on git-svn checkout

假如想象 提交于 2020-06-23 05:49:22
问题 I'm trying to checkout a svn repository with git using the following command on Windows 7: git.exe svn clone "https://..." "D:\repo" However, no matter what other options I try to use, the following error occurs: svn: E235000: In file 'subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.c' line 1666: assertion failed (get_current_pool_cb != NULL) I am using the newest git version 2.27.0 Any ideas what could be the issue here? Is ist possible, that the https authentication of the svn

git svn clone failed due to Svndiff backward-sliding source view

元气小坏坏 提交于 2020-05-15 02:33:45
问题 I am in the process of migrating svn repositories to git, using git svn clone, then pushing the clone to a remote origin to act as the new git repository. Using this process I have successfully migrated 34 svn repos so far, but during the git svn clone process, 4 have failed due to the following error Command: git svn clone --authors-file=authors.txt svn+ssh://git@server/path/to/SVN/project/trunk/repo_name repo_name.git Resulting in the error: Svndiff data contains backward-sliding source

将svn仓库push到git server中

与世无争的帅哥 提交于 2020-03-01 08:20:12
用git svn命令将仓库clone到本地, git svn clone svn://ip/svnproject 给本地仓库添加远程地址, git remote add origin git@github.com:gitproject.git 开始push, git push origin master 如果svnproject中有更新, git svn fetch 然后合并git-svn分支到master上, git merge master git-svn git push origin master 来源: oschina 链接: https://my.oschina.net/u/96925/blog/103648

How to git clone an SVN repository where all branches are located in root?

半世苍凉 提交于 2020-02-29 05:13:21
问题 My SVN structure is like this: / |-- Branch1 |-- Branch2 |-- Branch3 ... How can I clone this into a git repository preserving the branches (i.e. not flat history)? Bonus question: How to clone only a subset of the SVN branches into a new git repository? 回答1: I believe that in SVN branches are just folders, its just a convention. Git actually works with branches. With this the approach becomes easier. As you need to fetch the data from SVN repository you will need to create remote for it.

git svn branch results in Authentication failed

非 Y 不嫁゛ 提交于 2020-02-21 10:34:52
问题 I'm trying to do all of my branching and merging via git-svn , however I'm hung up on the branching in subversion. Our admin tells me that I have full read/write permissions on the repo, and I CAN fetch the latest code. For a test, I deleted my ~/.subversion/svn.simple directory and ran this. 04:13 pm [214423L] C:\Dev\MyFooApp.Bar [master] $ git svn fetch Authentication realm: <https://code:443> VisualSVN Server Password for 'cflorell': {my password} 04:14 pm [214423L] C:\Dev\MyFooApp.Bar