mercurial: less duplication in hgrc file
- by zaharpopov
Hi there.
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