Mercurial error: abort no username supplied

后端 未结 10 1337
生来不讨喜
生来不讨喜 2021-01-30 01:01

Problem on WindowsXP (likely will happen on all Win installs), first time using Mercurial. I found the answer in an inobvious place so I\'m asking/answering the question myself

10条回答
  •  执念已碎
    2021-01-30 01:45

    On Windows XP I do not see an ini file. After creating the repository using the command hg init, I added a file with the name hgrc to the folder .hg

    With the following content:

    [ui]  
    editor = notepad  
    username = zamboni@icemachine.com
    

提交回复
热议问题