I am working on projects for different clients using Mercurial as a VCS. I know how to set a default user, but is there a mean to set a different user for each project ?
+2
A:
Just edit the file .hg/hgrc
inside each repository. It's the same syntax as your ~/.hgrc
but will only affect a specific repo.
In repo1/.hg/hgrc
:
[ui]
username = Foo Bar <[email protected]>
And in repo2/.hg/hgrc
:
[ui]
username = Something Else <[email protected]>
tonfa
2009-09-19 11:18:30
nifty ! thank you very much !
edomaur
2009-09-19 12:02:34