Release Engineering at Openbravo

Tip: Mercurial authentication comfort

Mercurial 1.3 has a nice feature that makes our coding lives easier. You can define your authentication credentials globally, so that it will remember your username, the password, or both in any repository cloned from There’s therefore no need to define the credentials individually in every repository.

Example of the relevant section to be added to $HOME/.hgrc:

ob.prefix =
ob.username = johndoe
ob.password = supersecret

If you only want it to remember the username, then remove the password line.

And if you still are using an older version (hg version), you can follow these instructions to update to 1.3.1.

For more information about this feature check the hgrc(5) man page.


Written by jpabloae

02/11/2009 at 11:11

Posted in openbravo

Tagged with ,

One Response

Subscribe to comments with RSS.

  1. “Theme: Journalist by Lucian E. Marin.”
    Something I doubt …


    20/12/2010 at 03:30

Comments are closed.

%d bloggers like this: