Mercurial error: abort no username supplied

后端 未结 10 1339
生来不讨喜
生来不讨喜 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 02:03

    no matter windows or linux, hg looks the "/.hg/hgrc" file for valid configuration. As in "hg help config" says, you only have to add at the end of that file the following lines:

    [ui]
    username = YOUR NAME 
    verbose = true
    

    save and "hg commit -m 'test'"

提交回复
热议问题