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

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -