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…)