author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Thu, 17 Mar 2011 12:19:53 +0200 | |
changeset 857 | 97fa4a9e7ed7 |
parent 854 | 746238239dc4 |
child 861 | a0a4d3b85923 |
permissions | -rw-r--r-- |
294 | 1 |
-*- mode: outline; coding: utf-8 -*- |
2 |
||
674
6429d14cfc2a
Some Projects that Use Mercurial
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
673
diff
changeset
|
3 |
* About. |
6429d14cfc2a
Some Projects that Use Mercurial
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
673
diff
changeset
|
4 |
|
6429d14cfc2a
Some Projects that Use Mercurial
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
673
diff
changeset
|
5 |
http://mercurial.selenic.com/wiki/ProjectsUsingMercurial |
6429d14cfc2a
Some Projects that Use Mercurial
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
673
diff
changeset
|
6 |
Some Projects that Use Mercurial |
6429d14cfc2a
Some Projects that Use Mercurial
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
673
diff
changeset
|
7 |
|
6429d14cfc2a
Some Projects that Use Mercurial
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
673
diff
changeset
|
8 |
* User config. |
310
4af75f7ab947
Multiline log message for log command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
295
diff
changeset
|
9 |
|
313
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
10 |
Put to your ~/.hgrc: |
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
11 |
|
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
12 |
[ui] |
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
13 |
; Editor for editing commit message. |
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
14 |
editor = gvim |
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
15 |
; Who commit. |
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
16 |
username = Oleksandr Gavenko <gavenkoa@gmail.com> |
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
17 |
; Use internal merge algorithm, which mark conflict like <<<<<< ====== >>>>>>. |
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
18 |
; Save previous file version in '*.orig' file, after merge must be marked as |
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
19 |
; resolved by running 'hg resolve -m <file>'. |
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
20 |
merge = internal:merge |
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
21 |
[web] |
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
22 |
; Default encoding for file hosted by 'hg serv'. |
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
23 |
encoding = utf-8 |
7cc6dcfa284e
Useful customization.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
312
diff
changeset
|
24 |
|
312 | 25 |
** Useful extension. |
26 |
||
27 |
Put to your ~/.hgrc: |
|
28 |
||
29 |
[extensions] |
|
817
df347f6a491f
About 'eol' extensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
815
diff
changeset
|
30 |
; To allow 'fetch' command. |
818
f73cf47ef8f6
Update from skel proj,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
817
diff
changeset
|
31 |
hgext.fetch = |
312 | 32 |
; To allow Mercurial Queues. |
33 |
hgext.mq = |
|
818
f73cf47ef8f6
Update from skel proj,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
817
diff
changeset
|
34 |
; To import revisions from foreign VCS repositories into Mercurial. |
f73cf47ef8f6
Update from skel proj,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
817
diff
changeset
|
35 |
hgext.convert = |
f73cf47ef8f6
Update from skel proj,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
817
diff
changeset
|
36 |
; Usage: hg glog <dir> |
f73cf47ef8f6
Update from skel proj,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
817
diff
changeset
|
37 |
hgext.graphlog = |
817
df347f6a491f
About 'eol' extensions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
815
diff
changeset
|
38 |
; Enable '.hgeol' tracking (fix for CR/LF). |
818
f73cf47ef8f6
Update from skel proj,
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
817
diff
changeset
|
39 |
hgext.eol = |
312 | 40 |
|
310
4af75f7ab947
Multiline log message for log command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
295
diff
changeset
|
41 |
** Multiline log message for log command. |
4af75f7ab947
Multiline log message for log command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
295
diff
changeset
|
42 |
|
4af75f7ab947
Multiline log message for log command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
295
diff
changeset
|
43 |
By default 'hg log' show only first line of log message. To see all message run: |
4af75f7ab947
Multiline log message for log command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
295
diff
changeset
|
44 |
|
4af75f7ab947
Multiline log message for log command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
295
diff
changeset
|
45 |
$ hg log -v |
4af75f7ab947
Multiline log message for log command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
295
diff
changeset
|
46 |
|
4af75f7ab947
Multiline log message for log command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
295
diff
changeset
|
47 |
or put into ~/.hgrc: |
4af75f7ab947
Multiline log message for log command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
295
diff
changeset
|
48 |
|
4af75f7ab947
Multiline log message for log command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
295
diff
changeset
|
49 |
[defaults] |
4af75f7ab947
Multiline log message for log command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
295
diff
changeset
|
50 |
log = -v |
4af75f7ab947
Multiline log message for log command.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
295
diff
changeset
|
51 |
|
311
e3d3fd4c128b
Follow history ever when file copied.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
310
diff
changeset
|
52 |
** Follow history ever when file copied. |
e3d3fd4c128b
Follow history ever when file copied.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
310
diff
changeset
|
53 |
|
e3d3fd4c128b
Follow history ever when file copied.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
310
diff
changeset
|
54 |
By default 'hg log' show only history after last file copy. To see log message |
e3d3fd4c128b
Follow history ever when file copied.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
310
diff
changeset
|
55 |
before copying run: |
e3d3fd4c128b
Follow history ever when file copied.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
310
diff
changeset
|
56 |
|
e3d3fd4c128b
Follow history ever when file copied.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
310
diff
changeset
|
57 |
$ hg log -f |
e3d3fd4c128b
Follow history ever when file copied.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
310
diff
changeset
|
58 |
|
e3d3fd4c128b
Follow history ever when file copied.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
310
diff
changeset
|
59 |
or put into ~/.hgrc: |
e3d3fd4c128b
Follow history ever when file copied.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
310
diff
changeset
|
60 |
|
e3d3fd4c128b
Follow history ever when file copied.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
310
diff
changeset
|
61 |
[defaults] |
e3d3fd4c128b
Follow history ever when file copied.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
310
diff
changeset
|
62 |
log = -f |
e3d3fd4c128b
Follow history ever when file copied.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
310
diff
changeset
|
63 |
|
851
ebf1ef1c1615
Clone specific branches.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
818
diff
changeset
|
64 |
* Clone specific branches. |
ebf1ef1c1615
Clone specific branches.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
818
diff
changeset
|
65 |
|
852 | 66 |
$ hg clone http://your/repo -r $branch |
67 |
||
68 |
* Closing branches. |
|
69 |
||
70 |
$ hg branches |
|
71 |
$branch (inactive) |
|
72 |
... |
|
73 |
$ hg branches -a |
|
74 |
... # no $branch |
|
75 |
$ hg up -r $branch |
|
76 |
$ hg ci --close-branch -m "Bla-bla-bla" |
|
77 |
$ hg up -r default |
|
78 |
$ hg branches |
|
79 |
... # no $branch |
|
80 |
$ hg branches -c |
|
81 |
$branch (inactive) |
|
82 |
... |
|
851
ebf1ef1c1615
Clone specific branches.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
818
diff
changeset
|
83 |
|
854 | 84 |
To reopen closed branch just update to it and commit anything! |
853
ccec7dd08cf2
To reopen closed branch just update to it and commit!
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
852
diff
changeset
|
85 |
|
766
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
86 |
* Remove/rename files history from repo. |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
87 |
|
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
88 |
$ cat >filemap.txt <<EOF |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
89 |
exclude path/to/file-or-dir |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
90 |
rename path/to/source path/to/destination |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
91 |
... |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
92 |
EOF |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
93 |
$ hg convert --filemap filemap.txt $repo_orig $repo_new |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
94 |
$ hg -R $repo_new up |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
95 |
|
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
96 |
* Join history of two repos. |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
97 |
|
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
98 |
$ cat >filemap1.txt <<EOF |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
99 |
rename . dir1 |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
100 |
EOF |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
101 |
$ cat >filemap2.txt <<EOF |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
102 |
rename . dir2 |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
103 |
EOF |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
104 |
$ hg convert --filemap filemap1.txt $repo1 $repo_new |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
105 |
$ hg convert --filemap filemap2.txt $repo2 $repo_new |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
106 |
$ hg -R $repo_new merge |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
107 |
$ hg -R $repo_new ci -m "Join $repo1 and $repo2." |
0eb76fb9d948
Join history of two repos.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
678
diff
changeset
|
108 |
|
676 | 109 |
* Publishing repo. |
675 | 110 |
|
111 |
With static HTTP hosting you can copy via rsync, ftp, scp, etc., so long as all the files beneath |
|
112 |
.hg are copied. Also since 1.1 pull protocol can detect static HTTP hosting: |
|
113 |
||
114 |
$ hg clone http://example.com/project |
|
115 |
||
116 |
http://mercurial.selenic.com/wiki/hgserve |
|
676 | 117 |
http://mercurial.selenic.com/wiki/HgWebDirStepByStep |
675 | 118 |
http://mercurial.selenic.com/wiki/StaticHTTP |
119 |
||
676 | 120 |
** hgweb.config. |
121 |
||
122 |
Set allowed project by specifying paths to they (keys are URL, values are fs paths): |
|
123 |
||
124 |
[paths] |
|
125 |
myproject = /home/user/hg/myproject |
|
126 |
otherproject = /home/user/hg/otherproject |
|
127 |
||
128 |
You can use single wildcard '*' to search current subdirs or double wildcard '**' to search subdirs |
|
129 |
recursively: |
|
130 |
||
131 |
[paths] |
|
132 |
myproject = /home/user/hg/my/* |
|
133 |
otherproject = /home/user/hg/other/** |
|
134 |
||
135 |
Alternatively you can set a collection of repos (keys and values are both filesystem paths, keys |
|
136 |
should be prefixes of the values and are "subtracted" from the values in order to generate the URL |
|
137 |
paths to each repository): |
|
138 |
||
139 |
[collections] |
|
140 |
/home/user/hg = /home/user/hg |
|
141 |
/home/another/hg = /home/another/hg |
|
142 |
||
143 |
Allow archive downloads: |
|
144 |
||
145 |
[web] |
|
146 |
allow_archive = gz, zip, bz2 |
|
147 |
||
148 |
Make web page look nice: |
|
149 |
||
150 |
[web] |
|
678 | 151 |
# Use 'cd /lib/python2.x/site-packages/mercurial/templates; find . -type d' to see available |
152 |
# styles. Some interesting: gitweb, coal, monoblue. |
|
676 | 153 |
style = gitweb |
154 |
||
155 |
Set another settings: |
|
156 |
||
157 |
[web] |
|
158 |
encoding = UTF-8 |
|
159 |
||
160 |
maxchanges = 100 |
|
161 |
maxfiles = 100 |
|
162 |
||
163 |
In each $proj/.hg/hgrc put: |
|
164 |
||
165 |
[web] |
|
166 |
contact = ADMIN <admin@example.com> |
|
167 |
description = <p style="color: red;">$proj</b> allow make a <a href="http://example.com">BIG Thing.</a> |
|
168 |
# Do not use name, in this case you see dir name where project lcated. |
|
169 |
# name = $proj |
|
170 |
||
171 |
To allow push in 'hg serv': |
|
172 |
||
173 |
[web] |
|
174 |
allow_push = * |
|
175 |
push_ssl = false |
|
176 |
||
177 |
http://mercurial.selenic.com/wiki/PublishingRepositories |
|
178 |
Publishing Mercurial Repositories |
|
179 |
||
675 | 180 |
** init.d script. |
181 |
||
182 |
#!/bin/sh |
|
183 |
CMD=/usr/bin/hg |
|
184 |
||
185 |
PORT=7878 |
|
186 |
SRC=/srv/hg |
|
187 |
CONGIG=/srv/hg/hgweb.config |
|
188 |
PIDFILE=/var/run/hg.pid |
|
189 |
||
190 |
case "$1" in |
|
191 |
start) |
|
192 |
echo "Mecurial Server service starting." |
|
193 |
(cd "$SRC"; $CMD serve -d -p $PORT --pid-file "$PIDFILE") |
|
194 |
;; |
|
195 |
stop) |
|
196 |
if [ -f "$PIDFILE" ]; then |
|
197 |
PID=`cat "$PIDFILE"` |
|
198 |
if [ "$PID" -gt 1 ]; then |
|
199 |
kill -TERM $PID |
|
200 |
echo "Stopping the Mercurial service PID=$PID." |
|
201 |
else |
|
202 |
echo Bad PID for Mercurial -- \"$PID\". |
|
203 |
echo You may remove \"$PIDFILE\" manually. |
|
204 |
fi |
|
205 |
else |
|
206 |
echo No PID file recorded for mercurial. |
|
207 |
fi |
|
208 |
;; |
|
209 |
*) |
|
210 |
echo "$0 {start|stop}" |
|
211 |
exit 1 |
|
212 |
;; |
|
213 |
esac |
|
214 |
||
215 |
http://mercurial.selenic.com/wiki/hgserve |
|
216 |
||
294 | 217 |
* Manage patches with MQ. |
218 |
||
219 |
First enable MQ, add following to your ~/.hgrc: |
|
220 |
||
221 |
[extensions] |
|
222 |
hgext.mq = |
|
223 |
||
224 |
Second get unpatched sources and put it to hg repository: |
|
225 |
||
226 |
$ tar zxf proj-x.y.z.tar.gz |
|
227 |
$ mv proj-x.y.z proj |
|
228 |
$ cd proj |
|
229 |
$ hg init |
|
230 |
$ hg ci -m "Added x.y.z version of proj." |
|
231 |
||
232 |
Init MQ and take name for first patch: |
|
233 |
||
234 |
$ hg qinit |
|
235 |
$ hg qnew first.patch |
|
236 |
||
237 |
Next make changes by editing source and save it to patch: |
|
238 |
||
239 |
$ $EDITOR file.c |
|
240 |
... |
|
241 |
$ hg diff |
|
242 |
... |
|
243 |
$ hg qrefresh |
|
244 |
$ hg diff # <-- have zero diff |
|
245 |
||
246 |
You can make second patch by applying existing one: |
|
247 |
||
248 |
$ hg qnew second.patch |
|
249 |
$ patch -p1 <bugfix.patch |
|
250 |
$ hg qrefresh |
|
251 |
||
252 |
You can take list of patches (from old to new) and revert or apply patches by |
|
253 |
qpop/qpush command: |
|
254 |
||
255 |
$ hg qseries # <-- what patches have |
|
256 |
first.patch |
|
257 |
second.patch |
|
258 |
$ hg qapplied # <-- what patches applied |
|
259 |
first.patch |
|
260 |
second.patch |
|
261 |
$ hg qpop |
|
262 |
$ hg qseries |
|
263 |
first.patch |
|
264 |
second.patch |
|
265 |
$ hg qapplied |
|
266 |
first.patch |
|
267 |
||
268 |
You can revert or apply all patches by single command: |
|
269 |
||
270 |
$ hg qpop -a |
|
271 |
$ hg qpush -a |
|
272 |
||
273 |
You can delete patch from patch list (before that you need de-apply patch): |
|
274 |
||
275 |
$ hg qpop -a |
|
276 |
$ hg qdelete first.patch |
|
277 |
||
278 |
To add new version of source and fix patches for it first de apply patches, |
|
279 |
then pull new changes and try apply patches on top of new sources: |
|
280 |
||
281 |
$ hg qpop -a |
|
282 |
$ rm * # .hg dir not deleted because its name start with dot |
|
283 |
$ cd .. |
|
284 |
$ tar zxf proj-a.b.c.tar.gz |
|
285 |
$ cp -R proj-a.b.c/* proj |
|
286 |
$ cd proj |
|
287 |
$ hg addremove -s 70 |
|
288 |
$ hg ci -m "Added a.b.c version of proj." |
|
289 |
$ hg qpush -a |
|
290 |
||
295
d3f8534dadf9
Applying series of patches.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
294
diff
changeset
|
291 |
To apply series of already done patches use: |
d3f8534dadf9
Applying series of patches.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
294
diff
changeset
|
292 |
|
d3f8534dadf9
Applying series of patches.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
294
diff
changeset
|
293 |
$ ls /path/to/bugfixes/*.patch | xargs hg qimport |
425
8b7a3f47dac1
Proxy settings for hg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
313
diff
changeset
|
294 |
|
793
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
295 |
You can fix patch description message from command line: |
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
296 |
|
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
297 |
$ hg qser -s |
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
298 |
makefile-doc.patch: |
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
299 |
$ hg qpush |
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
300 |
applying makefile-doc.patch |
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
301 |
now at: makefile-doc.patch |
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
302 |
$ hg qref -m 'Add description about Makefile usage.' |
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
303 |
$ hg qser -s |
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
304 |
makefile-doc.patch: Add description about Makefile usage. |
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
305 |
|
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
306 |
or from editor by: |
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
307 |
|
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
308 |
$ hg qref -e |
7453db7e6f54
Fix patch description message from command line.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
766
diff
changeset
|
309 |
|
815
4e8e511bd02e
Show supported/loaded plugin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
793
diff
changeset
|
310 |
* Show supported/loaded plugin. |
4e8e511bd02e
Show supported/loaded plugin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
793
diff
changeset
|
311 |
|
4e8e511bd02e
Show supported/loaded plugin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
793
diff
changeset
|
312 |
$ hg help extensions |
4e8e511bd02e
Show supported/loaded plugin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
793
diff
changeset
|
313 |
$ hg showconfig extensions |
4e8e511bd02e
Show supported/loaded plugin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
793
diff
changeset
|
314 |
|
425
8b7a3f47dac1
Proxy settings for hg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
313
diff
changeset
|
315 |
* Proxy. |
8b7a3f47dac1
Proxy settings for hg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
313
diff
changeset
|
316 |
|
8b7a3f47dac1
Proxy settings for hg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
313
diff
changeset
|
317 |
$ hg clone --config http_proxy.host=$host:$port \ |
8b7a3f47dac1
Proxy settings for hg.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
313
diff
changeset
|
318 |
--config http_proxy.user=$user --config http_proxy.passwd=$password $addr |
673
faa365425ff0
Free Mercurial hosting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
425
diff
changeset
|
319 |
|
faa365425ff0
Free Mercurial hosting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
425
diff
changeset
|
320 |
* Free Mercurial hosting. |
faa365425ff0
Free Mercurial hosting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
425
diff
changeset
|
321 |
|
faa365425ff0
Free Mercurial hosting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
425
diff
changeset
|
322 |
http://mercurial.selenic.com/wiki/MercurialHosting |
faa365425ff0
Free Mercurial hosting.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
425
diff
changeset
|
323 |
Free Hosting of Mercurial Repositories |
815
4e8e511bd02e
Show supported/loaded plugin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
793
diff
changeset
|
324 |