I have using Hg for some projects on my google code hosting. For each projects I set in [auth] section of .hgrc the username/password to push without every asking for password. But it is lots of duplication like:
[auth]
proj1.prefix = ... 111
proj1.username = google code username
proj1.password = google code password
proj2.prefix = ... 222
proj2.username = google code username
proj2.password = google code password
Can this somehow be doing with less duplications? Maybe set variable in hgrc and refer to it from all username/password lines?
Thanks in advance for your help
from auth section in hgrc:
Hence, a single entry for code.google.com should suffice. Also of interest is
%include fileso you can store common things in seperate files and include them in any hgrc.