简体   繁体   English

如何从 Mercurial 创建与 SVN 兼容的补丁?

[英]How can I create SVN-compatible patches from Mercurial?

I am new to Mercurial and using hgsubversion.我是 Mercurial 和使用 hgsubversion 的新手。 I have erred in using hg merge - I now know not to do this for next time but I now need to get my changes into SVN.我在使用 hg 合并时犯了错误——我现在知道下次不要这样做,但我现在需要将我的更改放入 SVN。

How do I create patches from Mercurial that are compatible with SVN?如何从 Mercurial 创建与 SVN 兼容的补丁?

It looks like once you have hgsubversion installed, you can just use a similar command:看起来一旦你安装了 hgsubversion,你就可以使用类似的命令:

hg diff --svn -r default

See more info here . 在此处查看更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM