I looking for a way to set automatically the windows login id as username, so any user that clones my repository won't have to write his own username, but when he clones my repository he will get as username his windows login id automatically.
I looking for a way to set automatically the windows login id as username, so any user that clones my repository won't have to write his own username, but when he clones my repository he will get as username his windows login id automatically.
If I understand correctly, you can configure the mercurial.ini (C:\user\yourUsuario\mercurial.ini), not to be asked for User and password for each clone, pull, push, etc. To this end:
[auth]
hg.prefix = mercurialAddress
hg.username = user
hg.password = pass
hg.schemes = http
Or this way to make the clone:
hg clone http:\\user:pass@mercurialAddress/Folder/repository