How can I force mercurial to accept an empty commit

后端 未结 5 1165
说谎
说谎 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:33

    When I've needed empty commits in p4 and hg before, I've simply used a file that was set aside to 'be' the empty commit. Just dump a random string of some sort (I usually use the time and date) into the throwaway file, and hg commit away....

提交回复
热议问题