Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to use Mercurial Keyring extension with TortoiseHg

📅 2012-Dec-12 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ extension, keyring, mercurial, mercurial keyring, password, tortoisehg ⬩ 📚 Archive

With Mercurial, you need to enter your password every time you clone, push or pull from a private remote repository (like at BitBucket for example). The Mercurial Keyring extension eliminates the need to enter your password for every single operation. Using it with TortoiseHg to clone, push or pull is really easy.

  1. Enable the Mercurial Keyring extension. Right-click anywhere in Windows Explorer and choose TortoiseHg → Global Settings → Extensions. Enable mercurial_keyring.

  2. Close all open windows of TortoiseHg.

  3. The next time you clone or push or pull with a remote repository, TortoiseHg will prompt for your password. Enter it.

  4. After that one time, TortoiseHg will not ask your password again. Push and pull to your heart's content 😊

Tried with: TortoiseHg 2.4.1 and Windows 7 Professional x64