hgsvn

How can I force mercurial to accept an empty commit

霸气de小男生 提交于 2019-12-29 08:32:41
问题 I'm trying to convert an SVN repo with hgsvn and I have some commits where SVN properties where modified, but since Mercurial doesn't use those, it sees this as an empty commit and aborts. Is there any way to force this hg commit to accept a commit that doesn't change anything? I'm not familiar enough with the internals of hgsvn to hack it to skip empty commits. 回答1: You can skip this commit if you add a local svn.$REVNUM tag to the head revision (=the revision which also has the svn.($REVNUM

How to migrate/convert from SVN to Mercurial (hg) on windows

给你一囗甜甜゛ 提交于 2019-12-17 15:04:47
问题 I'm looking for a tool to migrate a couple of SVN repositories to Mercurial, with history, labels and so on. I'm using TortoiseHg (Windows x32), so ConvertExtensions are discarded. There's some info on how to do this process on a Linux box (hgsvn), but I don't have a Linux machine available. Can I use those Python scripts on Windows? If so, what do I need to do it? Or, what other tools can I use to do this process? Basically, how can I convert an SVN project to Mercurial? 回答1: I just had to

interoperation between mercurial and subversion

倾然丶 夕夏残阳落幕 提交于 2019-11-30 04:44:28
A similar question has been asked recently, but is not the same. The Mercurial website has a detailed page listing comparisons for 4 different options for getting Mercurial and Subversion to interoperate. I am wondering if anyone out there has tried one or more of these, and could relate any really good or really bad experiences. The note on the hgsubversion download says hgsubversion is an extension for Mercurial that allows using Mercurial as a Subversion client. Right now it is not ready for production use. You should only be using this if you're ready to hack on it, and go diving into the

How can I force mercurial to accept an empty commit

爱⌒轻易说出口 提交于 2019-11-29 13:32:49
I'm trying to convert an SVN repo with hgsvn and I have some commits where SVN properties where modified, but since Mercurial doesn't use those, it sees this as an empty commit and aborts. Is there any way to force this hg commit to accept a commit that doesn't change anything? I'm not familiar enough with the internals of hgsvn to hack it to skip empty commits. You can skip this commit if you add a local svn.$REVNUM tag to the head revision (=the revision which also has the svn.($REVNUM-1) tag now). Then you can continue with hgpullsvn. Say your import is at this state (last imported rev is

interoperation between mercurial and subversion

孤街浪徒 提交于 2019-11-29 02:36:51
问题 A similar question has been asked recently, but is not the same. The Mercurial website has a detailed page listing comparisons for 4 different options for getting Mercurial and Subversion to interoperate. I am wondering if anyone out there has tried one or more of these, and could relate any really good or really bad experiences. The note on the hgsubversion download says hgsubversion is an extension for Mercurial that allows using Mercurial as a Subversion client. Right now it is not ready

How to migrate/convert from SVN to Mercurial (hg) on windows

与世无争的帅哥 提交于 2019-11-27 16:39:58
I'm looking for a tool to migrate a couple of SVN repositories to Mercurial, with history, labels and so on. I'm using TortoiseHg (Windows x32), so ConvertExtensions are discarded. There's some info on how to do this process on a Linux box ( hgsvn ), but I don't have a Linux machine available. Can I use those Python scripts on Windows? If so, what do I need to do it? Or, what other tools can I use to do this process? Basically, how can I convert an SVN project to Mercurial? Michael La Voie I just had to tackle this problem myself. I have a windows XP machine with a separate windows server