git svn dcommit由于断言错误“svn_fspath__is_canonical(child_fspath)”失败。 (cygwin) [英] git svn dcommit fails because of assertion error "svn_fspath__is_canonical(child_fspath)" (cygwin)

查看:593
本文介绍了git svn dcommit由于断言错误“svn_fspath__is_canonical(child_fspath)”失败。 (cygwin)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望有人能帮助我。

I hope anybody can help me.

当我尝试将我的本地git分支推送到svn服务器时,这将总是导致此错误:

When I try to push my local git branch to the svn server this will always result into this error:

$ git svn dcommit
Committing to http://.../Dev_Stream/01_workspace ...
    C      path/to/file/AbstractSystemThread.java => other/path/to/file/Thread/AbstractThread.java
assertion "svn_fspath__is_canonical(child_fspath)" failed: file "/usr/src/subversion/subversion-1.8.0-1/src/subversion-1.8.0/subversion/libsvn_subr/dirent_uri.c", line 2502, function: svn_fspath__skip_ancestor

前提条件:


  • 清除本地git存储库(无暂存或未暂存的更改)

  • 以前称为git svn rebase

Cygwin安装包含以下软件包:

Cygwin installation contains these packages:


  • git -svn 1.7.9-1

  • subversion,subversion-perl 1.8.0-1

当在互联网中搜索这个问题,我发现了几个错误,像这样,路径不能规范化。但我没有找到一个解决方案,正是这个问题。

When searching for this problem in the internet, I found several errors like this where a path could not be canonicalized. But I did not find a solution for exactly this problem.

有人有一个想法如何解决呢?是否有任何信息缺失?

Has anybody an idea how to solve it? Is any information missing?

推荐答案

我也有这个问题(git版本1.8.3) subversion 到1.7.9(从1.8.0开始)。

I also had this problem (git version 1.8.3) and solved it by downgrading subversion to 1.7.9 (from 1.8.0).

这篇关于git svn dcommit由于断言错误“svn_fspath__is_canonical(child_fspath)”失败。 (cygwin)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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