Fullfil hgrc file
Is there a way after cloning the repository as specified user,
e.g.: hg clone
http://[email blocked]/hg/project/repository
fill the hgrc
file with specified information from HGLAB database:
[ui]
username = MyNameInHgLab <MyEmailInHglab>
[auth]
hglab.prefix = [hglab site or so on]
hglab.username = [user login in hglab]
Thanks,
Slava
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Anton Gogolev on 05 Sep, 2013 02:38 PM
Slava,
Mercurial does not transfer
.hgrc
files on clones/pulls. There is, however, a Projrc extension ( http://mercurial.selenic.com/wiki/ProjrcExtension ), but it is per-repository, not per-user and it's not currently supported by HgLab.Anton Gogolev closed this discussion on 05 Sep, 2013 02:38 PM.
Slava Davydov re-opened this discussion on 05 Sep, 2013 03:25 PM
2 Posted by Slava Davydov on 05 Sep, 2013 03:25 PM
Anton,
on cloning ....AFAIK you have own implementation of mercurial hg. And now it includes
Support Staff 3 Posted by Anton Gogolev on 05 Sep, 2013 04:31 PM
Slava,
The
user@
part is there due to the fact that it is actually included as a part of a clone URL. Mercurial stores this exact address in thepaths
section as adefault
push and pull URL, but even this behavior is outside my control.