Mercurial push, abort: authorization failed

后端 未结 8 1754
悲哀的现实
悲哀的现实 2021-01-31 14:14

I\'m having problems with pushing to mercurial repository:

$ hg push
pushing to https://user:***@hg.domain.com/X_repo
searching for changes
abort: authorization          


        
8条回答
  •  执笔经年
    2021-01-31 15:10

    For those with TortoiseHg pushing to a web server (another unauthorized user on another PC):

    In TortoiseHg: File - Settings - (Either globally or just for the current repository - tabs) then the Server settings. Web Server

    Push Requires SSL - No
    Allow Push - *
    

    This does the same thing through the UI as lukmdo's answer above (editing the hgrc file).

提交回复
热议问题