mercurial - hg: default server name several local reposotories -
i have plenty of small projects served hgwebdir , want configure local repos such way don't need create similar hgrc files every project:
[paths] default = http:/ /myserver.com/projectn default-push = http:/ /myserver.com/projectn
can use default value this?
[paths] default = projectn
environment variables won't work (win7).
you use schemes extension. put in ~/.hgrc:
[extensions] schemes = [schemes] = http://myserver.com
and repository hgrc's can contain:
[paths] default = my://projectn
Comments
Post a Comment