为什么git svn取得这么慢? [英] Why is git svn fetch so slow?

查看:119
本文介绍了为什么git svn取得这么慢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在执行 git svn fetch 我的回购执行 git rebase -i 我正在执行本地获取为什么这么慢?真的需要花费很多时间来创建1000个修订版吗?看起来这个过程只是在文件上陷入了沉睡,然后突然间出现了一连串的活动。

git svn fetch(和clone)必须完成繁重的工作,并创建整个存储库,与svn交谈并在本地机器上创建git存储库。你可以在svn服务器所在的同一台服务器上(这正是我认为你本地的意思),但仍然git svn客户端必须处理大量修订,逐个处理它们并创建回购。 1000次修订很多,可能需要一段时间。要有耐心,让它做好工作。当你在回购工作时,确保经常获取/重新绑定。


I'm trying to git svn fetch my repo to perform a git rebase -i I'm performing the fetch locally why is it so slow? Should it really take so much time to create 1000 revisions? It seems like the process just "falls a sleep" on a file then suddenly there is a flurry of activity.

解决方案

git svn fetch ( and clone) have to do the heavy lifting and create the entire repository, talking to svn and creating the git repository on your local machine. You may do it on the same server where the svn server is ( which is what I think you meant by locally), but still the git svn client has to process a lots of revisions, processing them one-by-one and creating the repo. 1000 revisions is a lot, it might take a while. Be patient and let it do its job. When you work on the repo, make sure you fetch / rebase often.

这篇关于为什么git svn取得这么慢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆