##// END OF EJS Templates
merge with stable
Martin von Zweigbergk -
r31119:13bbcd56 merge default
parent child Browse files
Show More
@@ -42,7 +42,8 b' def record(ui, repo, *pats, **opts):'
42
42
43 See :hg:`help dates` for a list of formats valid for -d/--date.
43 See :hg:`help dates` for a list of formats valid for -d/--date.
44
44
45 You will be prompted for whether to record changes to each
45 If using the text interface (see :hg:`help config`),
46 you will be prompted for whether to record changes to each
46 modified file, and for files with multiple changes, for each
47 modified file, and for files with multiple changes, for each
47 change to use. For each query, the following responses are
48 change to use. For each query, the following responses are
48 possible::
49 possible::
@@ -70,7 +70,7 b' default = %s'
70 # path aliases to other clones of this repo in URLs or filesystem paths
70 # path aliases to other clones of this repo in URLs or filesystem paths
71 # (see 'hg help config.paths' for more info)
71 # (see 'hg help config.paths' for more info)
72 #
72 #
73 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
73 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
74 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
74 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
75 # my-clone = /home/jdoe/jdoes-clone
75 # my-clone = /home/jdoe/jdoes-clone
76
76
@@ -86,7 +86,7 b' default = %s'
86 # (see 'hg help config.paths' for more info)
86 # (see 'hg help config.paths' for more info)
87 #
87 #
88 # default = http://example.com/hg/example-repo
88 # default = http://example.com/hg/example-repo
89 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
89 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
90 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
90 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
91 # my-clone = /home/jdoe/jdoes-clone
91 # my-clone = /home/jdoe/jdoes-clone
92
92
@@ -120,7 +120,10 b' def _posixworker(ui, func, staticargs, a'
120 break
120 break
121 else:
121 else:
122 raise
122 raise
123 if p:
123 if not p:
124 # skip subsequent steps, because child process should
125 # be still running in this case
126 continue
124 pids.discard(p)
127 pids.discard(p)
125 st = _exitstatus(st)
128 st = _exitstatus(st)
126 if st and not problem[0]:
129 if st and not problem[0]:
@@ -145,12 +148,16 b' def _posixworker(ui, func, staticargs, a'
145 # may do some clean-ups which could cause surprises like deadlock.
148 # may do some clean-ups which could cause surprises like deadlock.
146 # see sshpeer.cleanup for example.
149 # see sshpeer.cleanup for example.
147 try:
150 try:
151 try:
148 scmutil.callcatch(ui, workerfunc)
152 scmutil.callcatch(ui, workerfunc)
153 finally:
154 ui.flush()
149 except KeyboardInterrupt:
155 except KeyboardInterrupt:
150 os._exit(255)
156 os._exit(255)
151 except: # never return, therefore no re-raises
157 except: # never return, therefore no re-raises
152 try:
158 try:
153 ui.traceback()
159 ui.traceback()
160 ui.flush()
154 finally:
161 finally:
155 os._exit(255)
162 os._exit(255)
156 else:
163 else:
@@ -35,7 +35,7 b" Issue1199: Can't use '%' in hgrc (eg url"
35 # path aliases to other clones of this repo in URLs or filesystem paths
35 # path aliases to other clones of this repo in URLs or filesystem paths
36 # (see 'hg help config.paths' for more info)
36 # (see 'hg help config.paths' for more info)
37 #
37 #
38 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
38 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
39 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
39 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
40 # my-clone = /home/jdoe/jdoes-clone
40 # my-clone = /home/jdoe/jdoes-clone
41
41
@@ -33,7 +33,7 b' Cloning with a password in the URL shoul'
33 # path aliases to other clones of this repo in URLs or filesystem paths
33 # path aliases to other clones of this repo in URLs or filesystem paths
34 # (see 'hg help config.paths' for more info)
34 # (see 'hg help config.paths' for more info)
35 #
35 #
36 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
36 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
37 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
37 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
38 # my-clone = /home/jdoe/jdoes-clone
38 # my-clone = /home/jdoe/jdoes-clone
39
39
@@ -39,9 +39,10 b' help record (record)'
39
39
40 See 'hg help dates' for a list of formats valid for -d/--date.
40 See 'hg help dates' for a list of formats valid for -d/--date.
41
41
42 You will be prompted for whether to record changes to each modified file,
42 If using the text interface (see 'hg help config'), you will be prompted
43 and for files with multiple changes, for each change to use. For each
43 for whether to record changes to each modified file, and for files with
44 query, the following responses are possible:
44 multiple changes, for each change to use. For each query, the following
45 responses are possible:
45
46
46 y - record this change
47 y - record this change
47 n - skip this change
48 n - skip this change
@@ -22,9 +22,10 b' Record help'
22
22
23 See 'hg help dates' for a list of formats valid for -d/--date.
23 See 'hg help dates' for a list of formats valid for -d/--date.
24
24
25 You will be prompted for whether to record changes to each modified file,
25 If using the text interface (see 'hg help config'), you will be prompted
26 and for files with multiple changes, for each change to use. For each
26 for whether to record changes to each modified file, and for files with
27 query, the following responses are possible:
27 multiple changes, for each change to use. For each query, the following
28 responses are possible:
28
29
29 y - record this change
30 y - record this change
30 n - skip this change
31 n - skip this change
@@ -43,7 +43,7 b''
43 # path aliases to other clones of this repo in URLs or filesystem paths
43 # path aliases to other clones of this repo in URLs or filesystem paths
44 # (see 'hg help config.paths' for more info)
44 # (see 'hg help config.paths' for more info)
45 #
45 #
46 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
46 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
47 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
47 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
48 # my-clone = /home/jdoe/jdoes-clone
48 # my-clone = /home/jdoe/jdoes-clone
49
49
@@ -95,7 +95,7 b''
95 # path aliases to other clones of this repo in URLs or filesystem paths
95 # path aliases to other clones of this repo in URLs or filesystem paths
96 # (see 'hg help config.paths' for more info)
96 # (see 'hg help config.paths' for more info)
97 #
97 #
98 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
98 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
99 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
99 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
100 # my-clone = /home/jdoe/jdoes-clone
100 # my-clone = /home/jdoe/jdoes-clone
101
101
@@ -56,3 +56,38 b' update to rev 0 with a date'
56 [255]
56 [255]
57
57
58 $ cd ..
58 $ cd ..
59
60 update with worker processes
61
62 #if no-windows
63
64 $ cat <<EOF > forceworker.py
65 > from mercurial import extensions, worker
66 > def nocost(orig, ui, costperop, nops):
67 > return worker._numworkers(ui) > 1
68 > def uisetup(ui):
69 > extensions.wrapfunction(worker, 'worthwhile', nocost)
70 > EOF
71
72 $ hg init worker
73 $ cd worker
74 $ cat <<EOF >> .hg/hgrc
75 > [extensions]
76 > forceworker = $TESTTMP/forceworker.py
77 > [worker]
78 > numcpus = 4
79 > EOF
80 $ for i in `python $TESTDIR/seq.py 1 100`; do
81 > echo $i > $i
82 > done
83 $ hg ci -qAm 'add 100 files'
84
85 $ hg update null
86 0 files updated, 0 files merged, 100 files removed, 0 files unresolved
87 $ hg update -v | grep 100
88 getting 100
89 100 files updated, 0 files merged, 0 files removed, 0 files unresolved
90
91 $ cd ..
92
93 #endif
@@ -134,7 +134,7 b' Largefiles is NOT enabled in the clone i'
134 # path aliases to other clones of this repo in URLs or filesystem paths
134 # path aliases to other clones of this repo in URLs or filesystem paths
135 # (see 'hg help config.paths' for more info)
135 # (see 'hg help config.paths' for more info)
136 #
136 #
137 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
137 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
138 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
138 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
139 # my-clone = /home/jdoe/jdoes-clone
139 # my-clone = /home/jdoe/jdoes-clone
140
140
@@ -695,7 +695,7 b' The local repo enables largefiles if a l'
695 # path aliases to other clones of this repo in URLs or filesystem paths
695 # path aliases to other clones of this repo in URLs or filesystem paths
696 # (see 'hg help config.paths' for more info)
696 # (see 'hg help config.paths' for more info)
697 #
697 #
698 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
698 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
699 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
699 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
700 # my-clone = /home/jdoe/jdoes-clone
700 # my-clone = /home/jdoe/jdoes-clone
701
701
@@ -48,7 +48,7 b' Test basic functionality of url#rev synt'
48 # path aliases to other clones of this repo in URLs or filesystem paths
48 # path aliases to other clones of this repo in URLs or filesystem paths
49 # (see 'hg help config.paths' for more info)
49 # (see 'hg help config.paths' for more info)
50 #
50 #
51 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
51 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
52 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
52 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
53 # my-clone = /home/jdoe/jdoes-clone
53 # my-clone = /home/jdoe/jdoes-clone
54
54
General Comments 0
You need to be logged in to leave comments. Login now