在 Windows 上使用 hgsubversion
我正在尝试使用 Windows 中的 Mercurial 的 hgsubversion 插件。从 SVN 存储库拉取适用于 Windows。但是当我尝试推送到存储库时,我收到以下消息:
pushing to svn+ssh://[email protected]/home/user/.repo/test.svn/ abort: command unavailable for Subversion repositories
似乎发生这种情况是因为 hgsubversion 使用 SWIG 绑定而不是 subvertpy(在 Linux 上,使用 subvertpy 一切正常)
D:\test\>hg version --svn hgsubversion: 88f3cda47def Subversion: 1.6.13 bindings: SWIG
但我没有找到任何简单的方法安装它(现在我正在尝试自己编译它,但存在一些问题)。也许我错过了什么。 Bzr正在使用subvertpy,也许可以提取它?有什么建议吗?
有人在 Windows 上使用 hgsubversion 吗?
PS 要编译库,我尝试了以下提示: https://bitbucket.org/tortoisehg/thg-winbuild/issue/14/request-add-subvertpy-to-the-default
UPD:解决了推送失败的初始问题。 Largefiles(随 Mercurial >= 2.0 一起分发)扩展破坏了 hgsubversion。只是禁用它并让 hgsubversion 工作。
I'm trying to use hgsubversion plugin for mercurial from Windows. Pull from SVN repositpry works on Windows. But when I'm trying to push to the repository, I get the following message:
pushing to svn+ssh://[email protected]/home/user/.repo/test.svn/ abort: command unavailable for Subversion repositories
It seems this happens because hgsubversion is using SWIG bindings instead of subvertpy( on Linux everything works fine with subvertpy)
D:\test\>hg version --svn hgsubversion: 88f3cda47def Subversion: 1.6.13 bindings: SWIG
But I didn't find any easy way to install it(now I'm trying to compile it myself, but there are some problems). Maybe I missed something. Bzr is using subvertpy, maybe it is possible to extract it? Any suggestions?
Does anyone using hgsubversion from Windows?
P.S To compile the library i tried this hint: https://bitbucket.org/tortoisehg/thg-winbuild/issue/14/request-add-subvertpy-to-the-default
UPD: solved initial problem with fail on push. The largefiles(which is distributed with mercurial >= 2.0) extension breaks hgsubversion. Just disabled it and got hgsubversion working.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
结果略有不同
嗯,我的 test-repo 与 commit-auth 的
测试 1,在 TortoiseHG 内
测试 2,CLI 模式
仅克隆主干http://mayorat.ursinecorner.ru:8088/svn/Hello/trunk/
关于第一个密码请求什么也不能说,第二个和第三个是明显且正确的。 32 个修订版存在并且对每个人都可见
旁注:我的更改并没有打破 SVN 的线性历史
Well, I had slightly different results
on my test-repo with commit-auth
Test 1, inside TortoiseHG
Test 2, CLI-mode
Cloned only trunk http://mayorat.ursinecorner.ru:8088/svn/Hello/trunk/
Can say nothing about first password request, second and third are obvious and correct. 32 revision exist and visible to everybody
Sidenote: my changes doesn't broke linear history of SVN