相关疑难解决方法(0)

如何将包含历史记录的SVN存储库迁移到新的Git存储库?

我阅读了Git手册,常见问题解答,Git - SVN速成课程等等,他们都解释了这个和那个,但是你无处可以找到一个简单的指令:

SVN存储库: svn://myserver/path/to/svn/repos

Git存储库: git://myserver/path/to/git/repos

git-do-the-magic-svn-import-with-history \
svn://myserver/path/to/svn/repos \
git://myserver/path/to/git/repos
Run Code Online (Sandbox Code Playgroud)

我不希望它那么简单,我不指望它是一个单一的命令.但我确实希望它不要试图解释任何事情 - 只是说这个例子采取了哪些步骤.

svn git version-control git-svn

1486
推荐指数
18
解决办法
45万
查看次数

这个svn2git错误是什么意思?

我正在尝试使用svn2git将我的存储库从svn导入到git,但是当它遇到分支时似乎失败了.有什么问题?

Found possible branch point: https://s.aaa.com/repo/trunk/project => https://s.aaa.com/repo/branches/project-beta1.0, 128
Use of uninitialized value in substitution (s///) at /opt/local/libexec/git-core/git-svn line 1728.
Use of uninitialized value in concatenation (.) or string at /opt/local/libexec/git-core/git-svn line 1728.
refs/remotes/trunk: 'https://s.aaa.com/repo' not found in ''

Running command: git branch -l --no-color
* master
Running command: git branch -r --no-color
  trunk
Running command: git checkout trunk
Note: checking out 'trunk'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and …
Run Code Online (Sandbox Code Playgroud)

svn git git-svn

31
推荐指数
4
解决办法
1万
查看次数

Git Svn - 找到可能的分支点

我正在尝试将git svnSVN repo克隆到Git中.

我运行以下命令:

C:\ Projects> git svn clone -T trunk -b branches -t tags --no-metadata https://svn.mycompany.com/Projects/MyProject MyProject

我收到以下错误:

发现可能的分支点: https://svn.mycompany.com/Projects/MyProject/trunk => https://svn.mycompany.com/Projects/MyProject/tags/11.1.9.33334,33334

在/usr/lib/perl5/site_perl/Git/SVN.pm第106行使用未初始化的值代替(s ///).

在串联(.)中使用未初始化的值或在/usr/lib/perl5/site_perl/Git/SVN.pm行106.refs/remotes/MyProject-10.2中使用字符串:' https ://svn.mycompany.com/Projects '找不到''

git的版本是:

1.8.1.msysgit.1

git git-svn

31
推荐指数
1
解决办法
6974
查看次数

为什么git-svn因信号13而失败?

令人困惑的是,我多次使用git svn克隆svn repo失败了,为什么?

$ git svn clone -s https://192.168.2.145/svn/myprojects/Search/

Following parent with do_switch
Successfully followed parent
r362 = 6be745be496f98f96ac66fccead8211734cf6455 (refs/remotes/tags/8-22)
Found possible branch point: https://192.168.2.145/svn/myprojects/demo/trunk => https://192.168.2.145/svn/myprojects/Search/trunk, 368
Initializing parent: refs/remotes/trunk@368
**error: git-svn died of signal 13**


$ echo $?
141
Run Code Online (Sandbox Code Playgroud)

svn git version-control git-svn

9
推荐指数
1
解决办法
3866
查看次数

标签 统计

git ×4

git-svn ×4

svn ×3

version-control ×2