How can I force mercurial to accept an empty commit

后端 未结 5 1178
说谎
说谎 2020-12-20 17:40

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

5条回答
  •  清酒与你
    2020-12-20 18:10

    Perhaps, the following will not help you in the situation, but perheps other reader.

    You can make an "empty" commit via import of a nearly empty patch. I exported a patch, removed all changes in it, leaveing only 3 lines (diff..., ---... and +++ ...), and imported it with hg import --bypass --message ...

提交回复
热议问题