21
May 11

Kilnauth Plugin for Mercurial on a Mac

Do you use Kiln from FogCreek? Do you use a Mac? Are you having trouble getting the kilnauth plugin to work on your Mac? If so, you probably have a bad hgcookies file. To fix:

  1. Find a colleague with Windows who has a properly functioning kiln client (or follow the process in this kiln stackexchange post).
  2. Have them open up their user profile and look for an _hgookies folder. Open the cookie file inside.
  3. There will be a line that looks something like (DBID’s have been changed to protect the innocent): servername FALSE / FALSE DBID o1sev3t3dn01dabdppin90wexczimb
  4. Have them send you the DBID value
  5. On your Mac, open the cookie in your ~/.hgcookies/ and add the missing DBID value.
  6. You might have to hg logout, then try an hg get/in to put your credentials in. After that it should stop prompting you.