##// 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 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 47 modified file, and for files with multiple changes, for each
47 48 change to use. For each query, the following responses are
48 49 possible::
@@ -70,9 +70,9 b' default = %s'
70 70 # path aliases to other clones of this repo in URLs or filesystem paths
71 71 # (see 'hg help config.paths' for more info)
72 72 #
73 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
74 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
75 # my-clone = /home/jdoe/jdoes-clone
73 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
74 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
75 # my-clone = /home/jdoe/jdoes-clone
76 76
77 77 [ui]
78 78 # name and email (local to this repository, optional), e.g.
@@ -85,10 +85,10 b' default = %s'
85 85 # path aliases to other clones of this repo in URLs or filesystem paths
86 86 # (see 'hg help config.paths' for more info)
87 87 #
88 # default = http://example.com/hg/example-repo
89 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
90 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
91 # my-clone = /home/jdoe/jdoes-clone
88 # default = http://example.com/hg/example-repo
89 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
90 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
91 # my-clone = /home/jdoe/jdoes-clone
92 92
93 93 [ui]
94 94 # name and email (local to this repository, optional), e.g.
@@ -120,9 +120,12 b' def _posixworker(ui, func, staticargs, a'
120 120 break
121 121 else:
122 122 raise
123 if p:
124 pids.discard(p)
125 st = _exitstatus(st)
123 if not p:
124 # skip subsequent steps, because child process should
125 # be still running in this case
126 continue
127 pids.discard(p)
128 st = _exitstatus(st)
126 129 if st and not problem[0]:
127 130 problem[0] = st
128 131 def sigchldhandler(signum, frame):
@@ -145,12 +148,16 b' def _posixworker(ui, func, staticargs, a'
145 148 # may do some clean-ups which could cause surprises like deadlock.
146 149 # see sshpeer.cleanup for example.
147 150 try:
148 scmutil.callcatch(ui, workerfunc)
151 try:
152 scmutil.callcatch(ui, workerfunc)
153 finally:
154 ui.flush()
149 155 except KeyboardInterrupt:
150 156 os._exit(255)
151 157 except: # never return, therefore no re-raises
152 158 try:
153 159 ui.traceback()
160 ui.flush()
154 161 finally:
155 162 os._exit(255)
156 163 else:
@@ -35,9 +35,9 b" Issue1199: Can't use '%' in hgrc (eg url"
35 35 # path aliases to other clones of this repo in URLs or filesystem paths
36 36 # (see 'hg help config.paths' for more info)
37 37 #
38 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
39 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
40 # my-clone = /home/jdoe/jdoes-clone
38 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
39 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
40 # my-clone = /home/jdoe/jdoes-clone
41 41
42 42 [ui]
43 43 # name and email (local to this repository, optional), e.g.
@@ -33,9 +33,9 b' Cloning with a password in the URL shoul'
33 33 # path aliases to other clones of this repo in URLs or filesystem paths
34 34 # (see 'hg help config.paths' for more info)
35 35 #
36 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
37 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
38 # my-clone = /home/jdoe/jdoes-clone
36 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
37 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
38 # my-clone = /home/jdoe/jdoes-clone
39 39
40 40 [ui]
41 41 # name and email (local to this repository, optional), e.g.
@@ -39,9 +39,10 b' help record (record)'
39 39
40 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,
43 and for files with multiple changes, for each change to use. For each
44 query, the following responses are possible:
42 If using the text interface (see 'hg help config'), you will be prompted
43 for whether to record changes to each modified file, and for files with
44 multiple changes, for each change to use. For each query, the following
45 responses are possible:
45 46
46 47 y - record this change
47 48 n - skip this change
@@ -22,9 +22,10 b' Record help'
22 22
23 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,
26 and for files with multiple changes, for each change to use. For each
27 query, the following responses are possible:
25 If using the text interface (see 'hg help config'), you will be prompted
26 for whether to record changes to each modified file, and for files with
27 multiple changes, for each change to use. For each query, the following
28 responses are possible:
28 29
29 30 y - record this change
30 31 n - skip this change
@@ -43,9 +43,9 b''
43 43 # path aliases to other clones of this repo in URLs or filesystem paths
44 44 # (see 'hg help config.paths' for more info)
45 45 #
46 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
47 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
48 # my-clone = /home/jdoe/jdoes-clone
46 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
47 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
48 # my-clone = /home/jdoe/jdoes-clone
49 49
50 50 [ui]
51 51 # name and email (local to this repository, optional), e.g.
@@ -95,9 +95,9 b''
95 95 # path aliases to other clones of this repo in URLs or filesystem paths
96 96 # (see 'hg help config.paths' for more info)
97 97 #
98 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
99 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
100 # my-clone = /home/jdoe/jdoes-clone
98 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
99 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
100 # my-clone = /home/jdoe/jdoes-clone
101 101
102 102 [ui]
103 103 # name and email (local to this repository, optional), e.g.
@@ -56,3 +56,38 b' update to rev 0 with a date'
56 56 [255]
57 57
58 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,9 +134,9 b' Largefiles is NOT enabled in the clone i'
134 134 # path aliases to other clones of this repo in URLs or filesystem paths
135 135 # (see 'hg help config.paths' for more info)
136 136 #
137 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
138 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
139 # my-clone = /home/jdoe/jdoes-clone
137 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
138 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
139 # my-clone = /home/jdoe/jdoes-clone
140 140
141 141 [ui]
142 142 # name and email (local to this repository, optional), e.g.
@@ -695,9 +695,9 b' The local repo enables largefiles if a l'
695 695 # path aliases to other clones of this repo in URLs or filesystem paths
696 696 # (see 'hg help config.paths' for more info)
697 697 #
698 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
699 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
700 # my-clone = /home/jdoe/jdoes-clone
698 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
699 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
700 # my-clone = /home/jdoe/jdoes-clone
701 701
702 702 [ui]
703 703 # name and email (local to this repository, optional), e.g.
@@ -48,9 +48,9 b' Test basic functionality of url#rev synt'
48 48 # path aliases to other clones of this repo in URLs or filesystem paths
49 49 # (see 'hg help config.paths' for more info)
50 50 #
51 # default-push = ssh://jdoe@example.net/hg/jdoes-fork
52 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
53 # my-clone = /home/jdoe/jdoes-clone
51 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
52 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork
53 # my-clone = /home/jdoe/jdoes-clone
54 54
55 55 [ui]
56 56 # name and email (local to this repository, optional), e.g.
General Comments 0
You need to be logged in to leave comments. Login now