3

1

How do I clear kilnauth cookies so that operations then require me to reenter username and password?

flag

1 Answer

4

You can run hg logout on the command line to clear your cookies once, and you'll have to login when you run your next push/pull/inc/out command.

If you'd like to permanently disable kilnauth, you can simply edit your Mercurial.ini file and remove the line that starts with "kilnauth=".

Mercurial.ini should be found in your home directory (C:\Documents and Settings\{username} on XP...)

link|flag
Note that if you're running TortoiseHG on a Windows machine, but accessing a repository on a Linux machine via a mapped drive, "hg logout" won't work. You'll need to navigate to the "C:\Users\<username>_hgcookies" directory (on Windows Vista and Windows 7 at least) and delete all the files there manually. Or is there a better way to do this in TortoiseHG itself? – Russell G. Jan 12 2012 at 19:39

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.