LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Linux OpenSUSE - Hg - Username not specified in .hg/hgrc. Keyring will not be used. (http://www.linuxquestions.org/questions/linux-server-73/linux-opensuse-hg-username-not-specified-in-hg-hgrc-keyring-will-not-be-used-4175428861/)

sangal_ak04 09-24-2012 06:21 PM

Linux OpenSUSE - Hg - Username not specified in .hg/hgrc. Keyring will not be used.
 
Hi

OS: OpenSUSE 11.3
User running apache: wwwrun
Logged in user: root
Mercurial version: 1.5

I'm running the following command in Mercurial (Hg) but getting a message. Anybody know how to resolve it.


Code:

testvm99:~/TEST_AREA/hgplayarea # hg clone http://testvm99.tsh.company.com/hg/TestHgRepo1/ StarRepo
Username not specified in .hg/hgrc. Keyring will not be used.http authorization required
realm: Mercurial Repositories
user:

EricTRA 09-25-2012 09:53 PM

Hi,

Try putting the username in front of the http URL:
Code:

hg clone username@http://testvm99.tsh.company.com/hg/TestHgRepo1/ StarRepo
That will ask you for the according password. Or set up your user that Mercurial should use, follow for example this link.

Kind regards,

Eric


All times are GMT -5. The time now is 07:09 AM.