Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9.1.1, 0.9.2, and 0.9.3

stable 0.9.1.1 doc: schemes extension now ships with hg

Changeset 2e352922a7cd

Parent 7e8868a30a34

by Steve Borho

Changes to one file · Browse files at 2e352922a7cd Showing diff from parent 7e8868a30a34 Diff from another changeset...

 
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
 
106
107
108
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
@@ -106,45 +106,4 @@
  [extensions]   hgcr-gui=   -Schemes -======= - -`Schemes <http://mercurial.selenic.com/wiki/SchemesExtension>`_ allows -you to specify shortcuts for parent urls, for example:: - - [schemes] - py = http://code.python.org/hg/ - -After that you can use it like:: - - hg clone py://trunk/ - -Of course, it is possible to supply custom urls for schemes with suffixes:: - - [schemes] - ex = ssh://example.com/hg - ex+http = http://hg.example.com/ - -Additionally there is support for some more complex schemas, for example used -by Google Code:: - - [schemes] - gcode = http://{1}.googlecode.com/hg/ - -The syntax is taken from Mercurial templates, and you have unlimited number of -variables, starting with {1} and continuing with {2}, {3} and so on. This -variables will receive parts of url supplied, splitted by /. Anything not -specified as {part} will be just appended to an url. - -To use the schemes extension, add it to your Mercurial.ini along with -some configuration:: - - [extensions] - schemes = - - [schemes] - bb = http://bitbucket.org/ - bb+ssh = ssh://hg@bitbucket.org/ - -  .. vim: noet ts=4