1

1

I read through the question and answer about Kiln Auth with Multiple Accounts, but I wasn't sure how it would work if my account name and/or account e-mail happened to be different for each Kiln account. I understand that I will be prompted for a password when I do an hg push to a Kiln repo, but the username is already filled in for me.

Let's say I have the following that I want to be able to access from the same machine:

  • benwork.kilnhg.com
    • name: Ben McCormack
    • email: ben@mycompany.com
  • benhome.kilnhg.com
    • name: Zero Cool
    • email: ben@awesomehacker.com

What (if anything) would I need to do to be able to push to repositories in both environments?

flag

1 Answer

2

You don't have to do anything special! KilnAuth uses cookies to keep you logged in, so as long as you are logging into different domains, it will keep the two separate. First, just push or pull something to your work account, it'll ask you for you username/password. Then, do the same with your home account. Again, it'll ask you for your username/password.

Once you've logged in to both, you shouldn't have to provide credentials for either.

link|flag
Thanks for your answer! If I run hg logout, it will prompt me to log in, but my user name should be filled out. What would I need to do so that I'm prompted for the user name as well as the password? – Ben McCormack Mar 14 2011 at 13:57

Your Answer

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