Search code examples
authenticationmercurialpushdvcs

hg push with credentials for HTTP server


I have a HTTP server with some Mercurial repositories; in which I handle digest authentication, and I found myself pushing changes to the server too often, so, I wanna know If is there any way to send the credentials (user and password) along with the hg push command?

Thanks


Solution

  • With http authentication, I use hg push https://user:[email protected] in hgrc file, not sure if it helps here.