Mercurial > hg
annotate tests/test-acl.t @ 25426:5f3666da6910 stable
hgwebdir: don't allow the hidden parent of a subrepo to show as a directory
Previously, if a subrepo parent had 'web.hidden=True' set, neither the parent
nor child had a repository entry. However, the directory entry for the parent
would be listed (it wouldn't have the fancy 'web.name' if configured), and that
link went to the repo's summary page, effectively making it not hidden.
This simply disables the directory processing if a valid repository is present.
Whether or not the subrepo should be hidden is debatable, but this leaves that
behavior unchanged (i.e. it stays hidden).
author | Matt Harbison <mharbison@attotech.com> |
---|---|
date | Mon, 01 Jun 2015 18:06:20 -0400 |
parents | 38a393d59e77 |
children | bd625cd4e5e7 |
rev | line source |
---|---|
11849 | 1 > do_push() |
2 > { | |
3 > user=$1 | |
4 > shift | |
5 > echo "Pushing as user $user" | |
6 > echo 'hgrc = """' | |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
7 > sed -n '/\[[ha]/,$p' b/.hg/hgrc | grep -v fakegroups.py |
11849 | 8 > echo '"""' |
9 > if test -f acl.config; then | |
10 > echo 'acl.config = """' | |
11 > cat acl.config | |
12 > echo '"""' | |
13 > fi | |
14 > # On AIX /etc/profile sets LOGNAME read-only. So | |
15 > # LOGNAME=$user hg --cws a --debug push ../b | |
16 > # fails with "This variable is read only." | |
17 > # Use env to work around this. | |
18 > env LOGNAME=$user hg --cwd a --debug push ../b | |
19 > hg --cwd b rollback | |
20 > hg --cwd b --quiet tip | |
21 > echo | |
22 > } | |
23 | |
24 > init_config() | |
25 > { | |
26 > cat > fakegroups.py <<EOF | |
27 > from hgext import acl | |
28 > def fakegetusers(ui, group): | |
29 > try: | |
30 > return acl._getusersorig(ui, group) | |
31 > except: | |
32 > return ["fred", "betty"] | |
33 > acl._getusersorig = acl._getusers | |
34 > acl._getusers = fakegetusers | |
35 > EOF | |
36 > rm -f acl.config | |
37 > cat > $config <<EOF | |
38 > [hooks] | |
39 > pretxnchangegroup.acl = python:hgext.acl.hook | |
40 > [acl] | |
41 > sources = push | |
42 > [extensions] | |
43 > f=`pwd`/fakegroups.py | |
44 > EOF | |
45 > } | |
46 | |
47 $ hg init a | |
48 $ cd a | |
49 $ mkdir foo foo/Bar quux | |
50 $ echo 'in foo' > foo/file.txt | |
51 $ echo 'in foo/Bar' > foo/Bar/file.txt | |
52 $ echo 'in quux' > quux/file.py | |
53 $ hg add -q | |
54 $ hg ci -m 'add files' -d '1000000 0' | |
55 $ echo >> foo/file.txt | |
56 $ hg ci -m 'change foo/file' -d '1000001 0' | |
57 $ echo >> foo/Bar/file.txt | |
58 $ hg ci -m 'change foo/Bar/file' -d '1000002 0' | |
59 $ echo >> quux/file.py | |
60 $ hg ci -m 'change quux/file' -d '1000003 0' | |
61 $ hg tip --quiet | |
62 3:911600dab2ae | |
63 | |
64 $ cd .. | |
65 $ hg clone -r 0 a b | |
66 adding changesets | |
67 adding manifests | |
68 adding file changes | |
69 added 1 changesets with 3 changes to 3 files | |
70 updating to branch default | |
71 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
72 | |
73 $ config=b/.hg/hgrc | |
74 | |
75 Extension disabled for lack of a hook | |
76 | |
77 $ do_push fred | |
78 Pushing as user fred | |
79 hgrc = """ | |
80 """ | |
81 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
82 query 1; heads |
11849 | 83 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
84 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
85 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
86 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
87 listing keys for "bookmarks" |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
88 listing keys for "bookmarks" |
11849 | 89 3 changesets found |
90 list of changesets: | |
91 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
92 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
93 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
94 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
95 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
96 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
97 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
98 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
99 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
100 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
101 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
102 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
103 adding changesets |
11849 | 104 changesets: 1 chunks |
105 add changeset ef1ea85a6374 | |
106 changesets: 2 chunks | |
107 add changeset f9cafe1212c8 | |
108 changesets: 3 chunks | |
109 add changeset 911600dab2ae | |
110 adding manifests | |
111 manifests: 1/3 chunks (33.33%) | |
112 manifests: 2/3 chunks (66.67%) | |
113 manifests: 3/3 chunks (100.00%) | |
114 adding file changes | |
115 adding foo/Bar/file.txt revisions | |
116 files: 1/3 chunks (33.33%) | |
117 adding foo/file.txt revisions | |
118 files: 2/3 chunks (66.67%) | |
119 adding quux/file.py revisions | |
120 files: 3/3 chunks (100.00%) | |
121 added 3 changesets with 3 changes to 3 files | |
20969
7a679918ee2b
localrepo: add unbundle support
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
18395
diff
changeset
|
122 updating the branch cache |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
123 listing keys for "phases" |
17294
d2217df3a7cf
obsolete: add debug output regarding obsolete marker exchange.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17293
diff
changeset
|
124 try to push obsolete markers to remote |
13446
1e497df514e2
rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents:
13364
diff
changeset
|
125 repository tip rolled back to revision 0 (undo push) |
11849 | 126 0:6675d58eff77 |
127 | |
128 | |
129 $ echo '[hooks]' >> $config | |
130 $ echo 'pretxnchangegroup.acl = python:hgext.acl.hook' >> $config | |
131 | |
132 Extension disabled for lack of acl.sources | |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
133 |
11849 | 134 $ do_push fred |
135 Pushing as user fred | |
136 hgrc = """ | |
137 [hooks] | |
138 pretxnchangegroup.acl = python:hgext.acl.hook | |
139 """ | |
140 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
141 query 1; heads |
11849 | 142 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
143 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
144 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
145 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
146 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
147 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
148 listing keys for "bookmarks" |
11849 | 149 3 changesets found |
150 list of changesets: | |
151 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
152 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
153 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
154 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
155 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
156 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
157 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
158 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
159 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
160 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
161 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
162 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
163 adding changesets |
11849 | 164 changesets: 1 chunks |
165 add changeset ef1ea85a6374 | |
166 changesets: 2 chunks | |
167 add changeset f9cafe1212c8 | |
168 changesets: 3 chunks | |
169 add changeset 911600dab2ae | |
170 adding manifests | |
171 manifests: 1/3 chunks (33.33%) | |
172 manifests: 2/3 chunks (66.67%) | |
173 manifests: 3/3 chunks (100.00%) | |
174 adding file changes | |
175 adding foo/Bar/file.txt revisions | |
176 files: 1/3 chunks (33.33%) | |
177 adding foo/file.txt revisions | |
178 files: 2/3 chunks (66.67%) | |
179 adding quux/file.py revisions | |
180 files: 3/3 chunks (100.00%) | |
181 added 3 changesets with 3 changes to 3 files | |
182 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
183 acl: changes have source "push" - skipping | |
20969
7a679918ee2b
localrepo: add unbundle support
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
18395
diff
changeset
|
184 updating the branch cache |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
185 listing keys for "phases" |
17294
d2217df3a7cf
obsolete: add debug output regarding obsolete marker exchange.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17293
diff
changeset
|
186 try to push obsolete markers to remote |
13446
1e497df514e2
rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents:
13364
diff
changeset
|
187 repository tip rolled back to revision 0 (undo push) |
11849 | 188 0:6675d58eff77 |
189 | |
190 | |
191 No [acl.allow]/[acl.deny] | |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
192 |
11849 | 193 $ echo '[acl]' >> $config |
194 $ echo 'sources = push' >> $config | |
195 $ do_push fred | |
196 Pushing as user fred | |
197 hgrc = """ | |
198 [hooks] | |
199 pretxnchangegroup.acl = python:hgext.acl.hook | |
200 [acl] | |
201 sources = push | |
202 """ | |
203 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
204 query 1; heads |
11849 | 205 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
206 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
207 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
208 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
209 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
210 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
211 listing keys for "bookmarks" |
11849 | 212 3 changesets found |
213 list of changesets: | |
214 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
215 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
216 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
217 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
218 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
219 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
220 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
221 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
222 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
223 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
224 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
225 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
226 adding changesets |
11849 | 227 changesets: 1 chunks |
228 add changeset ef1ea85a6374 | |
229 changesets: 2 chunks | |
230 add changeset f9cafe1212c8 | |
231 changesets: 3 chunks | |
232 add changeset 911600dab2ae | |
233 adding manifests | |
234 manifests: 1/3 chunks (33.33%) | |
235 manifests: 2/3 chunks (66.67%) | |
236 manifests: 3/3 chunks (100.00%) | |
237 adding file changes | |
238 adding foo/Bar/file.txt revisions | |
239 files: 1/3 chunks (33.33%) | |
240 adding foo/file.txt revisions | |
241 files: 2/3 chunks (66.67%) | |
242 adding quux/file.py revisions | |
243 files: 3/3 chunks (100.00%) | |
244 added 3 changesets with 3 changes to 3 files | |
245 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
246 acl: checking access for user "fred" |
11849 | 247 acl: acl.allow.branches not enabled |
248 acl: acl.deny.branches not enabled | |
249 acl: acl.allow not enabled | |
250 acl: acl.deny not enabled | |
251 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
252 acl: path access granted: "ef1ea85a6374" |
11849 | 253 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
254 acl: path access granted: "f9cafe1212c8" |
11849 | 255 acl: branch access granted: "911600dab2ae" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
256 acl: path access granted: "911600dab2ae" |
20969
7a679918ee2b
localrepo: add unbundle support
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
18395
diff
changeset
|
257 updating the branch cache |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
258 listing keys for "phases" |
17294
d2217df3a7cf
obsolete: add debug output regarding obsolete marker exchange.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17293
diff
changeset
|
259 try to push obsolete markers to remote |
13446
1e497df514e2
rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents:
13364
diff
changeset
|
260 repository tip rolled back to revision 0 (undo push) |
11849 | 261 0:6675d58eff77 |
262 | |
263 | |
264 Empty [acl.allow] | |
265 | |
266 $ echo '[acl.allow]' >> $config | |
267 $ do_push fred | |
268 Pushing as user fred | |
269 hgrc = """ | |
270 [hooks] | |
271 pretxnchangegroup.acl = python:hgext.acl.hook | |
272 [acl] | |
273 sources = push | |
274 [acl.allow] | |
275 """ | |
276 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
277 query 1; heads |
11849 | 278 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
279 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
280 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
281 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
282 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
283 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
284 listing keys for "bookmarks" |
11849 | 285 3 changesets found |
286 list of changesets: | |
287 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
288 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
289 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
290 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
291 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
292 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
293 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
294 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
295 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
296 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
297 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
298 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
299 adding changesets |
11849 | 300 changesets: 1 chunks |
301 add changeset ef1ea85a6374 | |
302 changesets: 2 chunks | |
303 add changeset f9cafe1212c8 | |
304 changesets: 3 chunks | |
305 add changeset 911600dab2ae | |
306 adding manifests | |
307 manifests: 1/3 chunks (33.33%) | |
308 manifests: 2/3 chunks (66.67%) | |
309 manifests: 3/3 chunks (100.00%) | |
310 adding file changes | |
311 adding foo/Bar/file.txt revisions | |
312 files: 1/3 chunks (33.33%) | |
313 adding foo/file.txt revisions | |
314 files: 2/3 chunks (66.67%) | |
315 adding quux/file.py revisions | |
316 files: 3/3 chunks (100.00%) | |
317 added 3 changesets with 3 changes to 3 files | |
318 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
319 acl: checking access for user "fred" |
11849 | 320 acl: acl.allow.branches not enabled |
321 acl: acl.deny.branches not enabled | |
322 acl: acl.allow enabled, 0 entries for user fred | |
323 acl: acl.deny not enabled | |
324 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
325 error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374") |
11849 | 326 transaction abort! |
327 rollback completed | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
328 abort: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374") |
11849 | 329 no rollback information available |
330 0:6675d58eff77 | |
331 | |
332 | |
333 fred is allowed inside foo/ | |
11043
08681cb66231
acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents:
10119
diff
changeset
|
334 |
11849 | 335 $ echo 'foo/** = fred' >> $config |
336 $ do_push fred | |
337 Pushing as user fred | |
338 hgrc = """ | |
339 [hooks] | |
340 pretxnchangegroup.acl = python:hgext.acl.hook | |
341 [acl] | |
342 sources = push | |
343 [acl.allow] | |
344 foo/** = fred | |
345 """ | |
346 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
347 query 1; heads |
11849 | 348 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
349 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
350 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
351 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
352 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
353 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
354 listing keys for "bookmarks" |
11849 | 355 3 changesets found |
356 list of changesets: | |
357 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
358 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
359 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
360 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
361 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
362 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
363 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
364 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
365 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
366 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
367 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
368 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
369 adding changesets |
11849 | 370 changesets: 1 chunks |
371 add changeset ef1ea85a6374 | |
372 changesets: 2 chunks | |
373 add changeset f9cafe1212c8 | |
374 changesets: 3 chunks | |
375 add changeset 911600dab2ae | |
376 adding manifests | |
377 manifests: 1/3 chunks (33.33%) | |
378 manifests: 2/3 chunks (66.67%) | |
379 manifests: 3/3 chunks (100.00%) | |
380 adding file changes | |
381 adding foo/Bar/file.txt revisions | |
382 files: 1/3 chunks (33.33%) | |
383 adding foo/file.txt revisions | |
384 files: 2/3 chunks (66.67%) | |
385 adding quux/file.py revisions | |
386 files: 3/3 chunks (100.00%) | |
387 added 3 changesets with 3 changes to 3 files | |
388 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
389 acl: checking access for user "fred" |
11849 | 390 acl: acl.allow.branches not enabled |
391 acl: acl.deny.branches not enabled | |
392 acl: acl.allow enabled, 1 entries for user fred | |
393 acl: acl.deny not enabled | |
394 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
395 acl: path access granted: "ef1ea85a6374" |
11849 | 396 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
397 acl: path access granted: "f9cafe1212c8" |
11849 | 398 acl: branch access granted: "911600dab2ae" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
399 error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae") |
11849 | 400 transaction abort! |
401 rollback completed | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
402 abort: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae") |
11849 | 403 no rollback information available |
404 0:6675d58eff77 | |
405 | |
406 | |
407 Empty [acl.deny] | |
408 | |
409 $ echo '[acl.deny]' >> $config | |
410 $ do_push barney | |
411 Pushing as user barney | |
412 hgrc = """ | |
413 [hooks] | |
414 pretxnchangegroup.acl = python:hgext.acl.hook | |
415 [acl] | |
416 sources = push | |
417 [acl.allow] | |
418 foo/** = fred | |
419 [acl.deny] | |
420 """ | |
421 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
422 query 1; heads |
11849 | 423 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
424 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
425 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
426 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
427 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
428 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
429 listing keys for "bookmarks" |
11849 | 430 3 changesets found |
431 list of changesets: | |
432 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
433 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
434 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
435 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
436 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
437 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
438 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
439 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
440 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
441 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
442 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
443 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
444 adding changesets |
11849 | 445 changesets: 1 chunks |
446 add changeset ef1ea85a6374 | |
447 changesets: 2 chunks | |
448 add changeset f9cafe1212c8 | |
449 changesets: 3 chunks | |
450 add changeset 911600dab2ae | |
451 adding manifests | |
452 manifests: 1/3 chunks (33.33%) | |
453 manifests: 2/3 chunks (66.67%) | |
454 manifests: 3/3 chunks (100.00%) | |
455 adding file changes | |
456 adding foo/Bar/file.txt revisions | |
457 files: 1/3 chunks (33.33%) | |
458 adding foo/file.txt revisions | |
459 files: 2/3 chunks (66.67%) | |
460 adding quux/file.py revisions | |
461 files: 3/3 chunks (100.00%) | |
462 added 3 changesets with 3 changes to 3 files | |
463 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
464 acl: checking access for user "barney" |
11849 | 465 acl: acl.allow.branches not enabled |
466 acl: acl.deny.branches not enabled | |
467 acl: acl.allow enabled, 0 entries for user barney | |
468 acl: acl.deny enabled, 0 entries for user barney | |
469 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
470 error: pretxnchangegroup.acl hook failed: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374") |
11849 | 471 transaction abort! |
472 rollback completed | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
473 abort: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374") |
11849 | 474 no rollback information available |
475 0:6675d58eff77 | |
476 | |
477 | |
478 fred is allowed inside foo/, but not foo/bar/ (case matters) | |
11043
08681cb66231
acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents:
10119
diff
changeset
|
479 |
11849 | 480 $ echo 'foo/bar/** = fred' >> $config |
481 $ do_push fred | |
482 Pushing as user fred | |
483 hgrc = """ | |
484 [hooks] | |
485 pretxnchangegroup.acl = python:hgext.acl.hook | |
486 [acl] | |
487 sources = push | |
488 [acl.allow] | |
489 foo/** = fred | |
490 [acl.deny] | |
491 foo/bar/** = fred | |
492 """ | |
493 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
494 query 1; heads |
11849 | 495 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
496 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
497 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
498 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
499 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
500 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
501 listing keys for "bookmarks" |
11849 | 502 3 changesets found |
503 list of changesets: | |
504 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
505 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
506 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
507 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
508 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
509 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
510 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
511 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
512 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
513 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
514 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
515 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
516 adding changesets |
11849 | 517 changesets: 1 chunks |
518 add changeset ef1ea85a6374 | |
519 changesets: 2 chunks | |
520 add changeset f9cafe1212c8 | |
521 changesets: 3 chunks | |
522 add changeset 911600dab2ae | |
523 adding manifests | |
524 manifests: 1/3 chunks (33.33%) | |
525 manifests: 2/3 chunks (66.67%) | |
526 manifests: 3/3 chunks (100.00%) | |
527 adding file changes | |
528 adding foo/Bar/file.txt revisions | |
529 files: 1/3 chunks (33.33%) | |
530 adding foo/file.txt revisions | |
531 files: 2/3 chunks (66.67%) | |
532 adding quux/file.py revisions | |
533 files: 3/3 chunks (100.00%) | |
534 added 3 changesets with 3 changes to 3 files | |
535 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
536 acl: checking access for user "fred" |
11849 | 537 acl: acl.allow.branches not enabled |
538 acl: acl.deny.branches not enabled | |
539 acl: acl.allow enabled, 1 entries for user fred | |
540 acl: acl.deny enabled, 1 entries for user fred | |
541 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
542 acl: path access granted: "ef1ea85a6374" |
11849 | 543 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
544 acl: path access granted: "f9cafe1212c8" |
11849 | 545 acl: branch access granted: "911600dab2ae" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
546 error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae") |
11849 | 547 transaction abort! |
548 rollback completed | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
549 abort: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae") |
11849 | 550 no rollback information available |
551 0:6675d58eff77 | |
552 | |
553 | |
554 fred is allowed inside foo/, but not foo/Bar/ | |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
555 |
11849 | 556 $ echo 'foo/Bar/** = fred' >> $config |
557 $ do_push fred | |
558 Pushing as user fred | |
559 hgrc = """ | |
560 [hooks] | |
561 pretxnchangegroup.acl = python:hgext.acl.hook | |
562 [acl] | |
563 sources = push | |
564 [acl.allow] | |
565 foo/** = fred | |
566 [acl.deny] | |
567 foo/bar/** = fred | |
568 foo/Bar/** = fred | |
569 """ | |
570 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
571 query 1; heads |
11849 | 572 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
573 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
574 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
575 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
576 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
577 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
578 listing keys for "bookmarks" |
11849 | 579 3 changesets found |
580 list of changesets: | |
581 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
582 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
583 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
584 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
585 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
586 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
587 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
588 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
589 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
590 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
591 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
592 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
593 adding changesets |
11849 | 594 changesets: 1 chunks |
595 add changeset ef1ea85a6374 | |
596 changesets: 2 chunks | |
597 add changeset f9cafe1212c8 | |
598 changesets: 3 chunks | |
599 add changeset 911600dab2ae | |
600 adding manifests | |
601 manifests: 1/3 chunks (33.33%) | |
602 manifests: 2/3 chunks (66.67%) | |
603 manifests: 3/3 chunks (100.00%) | |
604 adding file changes | |
605 adding foo/Bar/file.txt revisions | |
606 files: 1/3 chunks (33.33%) | |
607 adding foo/file.txt revisions | |
608 files: 2/3 chunks (66.67%) | |
609 adding quux/file.py revisions | |
610 files: 3/3 chunks (100.00%) | |
611 added 3 changesets with 3 changes to 3 files | |
612 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
613 acl: checking access for user "fred" |
11849 | 614 acl: acl.allow.branches not enabled |
615 acl: acl.deny.branches not enabled | |
616 acl: acl.allow enabled, 1 entries for user fred | |
617 acl: acl.deny enabled, 2 entries for user fred | |
618 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
619 acl: path access granted: "ef1ea85a6374" |
11849 | 620 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
621 error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8") |
11849 | 622 transaction abort! |
623 rollback completed | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
624 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8") |
11849 | 625 no rollback information available |
626 0:6675d58eff77 | |
627 | |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
628 |
11849 | 629 $ echo 'barney is not mentioned => not allowed anywhere' |
630 barney is not mentioned => not allowed anywhere | |
631 $ do_push barney | |
632 Pushing as user barney | |
633 hgrc = """ | |
634 [hooks] | |
635 pretxnchangegroup.acl = python:hgext.acl.hook | |
636 [acl] | |
637 sources = push | |
638 [acl.allow] | |
639 foo/** = fred | |
640 [acl.deny] | |
641 foo/bar/** = fred | |
642 foo/Bar/** = fred | |
643 """ | |
644 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
645 query 1; heads |
11849 | 646 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
647 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
648 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
649 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
650 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
651 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
652 listing keys for "bookmarks" |
11849 | 653 3 changesets found |
654 list of changesets: | |
655 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
656 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
657 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
658 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
659 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
660 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
661 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
662 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
663 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
664 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
665 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
666 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
667 adding changesets |
11849 | 668 changesets: 1 chunks |
669 add changeset ef1ea85a6374 | |
670 changesets: 2 chunks | |
671 add changeset f9cafe1212c8 | |
672 changesets: 3 chunks | |
673 add changeset 911600dab2ae | |
674 adding manifests | |
675 manifests: 1/3 chunks (33.33%) | |
676 manifests: 2/3 chunks (66.67%) | |
677 manifests: 3/3 chunks (100.00%) | |
678 adding file changes | |
679 adding foo/Bar/file.txt revisions | |
680 files: 1/3 chunks (33.33%) | |
681 adding foo/file.txt revisions | |
682 files: 2/3 chunks (66.67%) | |
683 adding quux/file.py revisions | |
684 files: 3/3 chunks (100.00%) | |
685 added 3 changesets with 3 changes to 3 files | |
686 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
687 acl: checking access for user "barney" |
11849 | 688 acl: acl.allow.branches not enabled |
689 acl: acl.deny.branches not enabled | |
690 acl: acl.allow enabled, 0 entries for user barney | |
691 acl: acl.deny enabled, 0 entries for user barney | |
692 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
693 error: pretxnchangegroup.acl hook failed: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374") |
11849 | 694 transaction abort! |
695 rollback completed | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
696 abort: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374") |
11849 | 697 no rollback information available |
698 0:6675d58eff77 | |
699 | |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
700 |
11849 | 701 barney is allowed everywhere |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
702 |
11849 | 703 $ echo '[acl.allow]' >> $config |
704 $ echo '** = barney' >> $config | |
705 $ do_push barney | |
706 Pushing as user barney | |
707 hgrc = """ | |
708 [hooks] | |
709 pretxnchangegroup.acl = python:hgext.acl.hook | |
710 [acl] | |
711 sources = push | |
712 [acl.allow] | |
713 foo/** = fred | |
714 [acl.deny] | |
715 foo/bar/** = fred | |
716 foo/Bar/** = fred | |
717 [acl.allow] | |
718 ** = barney | |
719 """ | |
720 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
721 query 1; heads |
11849 | 722 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
723 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
724 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
725 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
726 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
727 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
728 listing keys for "bookmarks" |
11849 | 729 3 changesets found |
730 list of changesets: | |
731 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
732 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
733 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
734 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
735 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
736 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
737 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
738 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
739 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
740 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
741 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
742 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
743 adding changesets |
11849 | 744 changesets: 1 chunks |
745 add changeset ef1ea85a6374 | |
746 changesets: 2 chunks | |
747 add changeset f9cafe1212c8 | |
748 changesets: 3 chunks | |
749 add changeset 911600dab2ae | |
750 adding manifests | |
751 manifests: 1/3 chunks (33.33%) | |
752 manifests: 2/3 chunks (66.67%) | |
753 manifests: 3/3 chunks (100.00%) | |
754 adding file changes | |
755 adding foo/Bar/file.txt revisions | |
756 files: 1/3 chunks (33.33%) | |
757 adding foo/file.txt revisions | |
758 files: 2/3 chunks (66.67%) | |
759 adding quux/file.py revisions | |
760 files: 3/3 chunks (100.00%) | |
761 added 3 changesets with 3 changes to 3 files | |
762 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
763 acl: checking access for user "barney" |
11849 | 764 acl: acl.allow.branches not enabled |
765 acl: acl.deny.branches not enabled | |
766 acl: acl.allow enabled, 1 entries for user barney | |
767 acl: acl.deny enabled, 0 entries for user barney | |
768 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
769 acl: path access granted: "ef1ea85a6374" |
11849 | 770 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
771 acl: path access granted: "f9cafe1212c8" |
11849 | 772 acl: branch access granted: "911600dab2ae" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
773 acl: path access granted: "911600dab2ae" |
20969
7a679918ee2b
localrepo: add unbundle support
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
18395
diff
changeset
|
774 updating the branch cache |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
775 listing keys for "phases" |
17294
d2217df3a7cf
obsolete: add debug output regarding obsolete marker exchange.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17293
diff
changeset
|
776 try to push obsolete markers to remote |
13446
1e497df514e2
rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents:
13364
diff
changeset
|
777 repository tip rolled back to revision 0 (undo push) |
11849 | 778 0:6675d58eff77 |
779 | |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
780 |
11849 | 781 wilma can change files with a .txt extension |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
782 |
11849 | 783 $ echo '**/*.txt = wilma' >> $config |
784 $ do_push wilma | |
785 Pushing as user wilma | |
786 hgrc = """ | |
787 [hooks] | |
788 pretxnchangegroup.acl = python:hgext.acl.hook | |
789 [acl] | |
790 sources = push | |
791 [acl.allow] | |
792 foo/** = fred | |
793 [acl.deny] | |
794 foo/bar/** = fred | |
795 foo/Bar/** = fred | |
796 [acl.allow] | |
797 ** = barney | |
798 **/*.txt = wilma | |
799 """ | |
800 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
801 query 1; heads |
11849 | 802 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
803 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
804 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
805 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
806 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
807 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
808 listing keys for "bookmarks" |
11849 | 809 3 changesets found |
810 list of changesets: | |
811 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
812 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
813 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
814 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
815 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
816 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
817 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
818 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
819 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
820 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
821 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
822 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
823 adding changesets |
11849 | 824 changesets: 1 chunks |
825 add changeset ef1ea85a6374 | |
826 changesets: 2 chunks | |
827 add changeset f9cafe1212c8 | |
828 changesets: 3 chunks | |
829 add changeset 911600dab2ae | |
830 adding manifests | |
831 manifests: 1/3 chunks (33.33%) | |
832 manifests: 2/3 chunks (66.67%) | |
833 manifests: 3/3 chunks (100.00%) | |
834 adding file changes | |
835 adding foo/Bar/file.txt revisions | |
836 files: 1/3 chunks (33.33%) | |
837 adding foo/file.txt revisions | |
838 files: 2/3 chunks (66.67%) | |
839 adding quux/file.py revisions | |
840 files: 3/3 chunks (100.00%) | |
841 added 3 changesets with 3 changes to 3 files | |
842 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
843 acl: checking access for user "wilma" |
11849 | 844 acl: acl.allow.branches not enabled |
845 acl: acl.deny.branches not enabled | |
846 acl: acl.allow enabled, 1 entries for user wilma | |
847 acl: acl.deny enabled, 0 entries for user wilma | |
848 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
849 acl: path access granted: "ef1ea85a6374" |
11849 | 850 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
851 acl: path access granted: "f9cafe1212c8" |
11849 | 852 acl: branch access granted: "911600dab2ae" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
853 error: pretxnchangegroup.acl hook failed: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae") |
11849 | 854 transaction abort! |
855 rollback completed | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
856 abort: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae") |
11849 | 857 no rollback information available |
858 0:6675d58eff77 | |
859 | |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
860 |
11849 | 861 file specified by acl.config does not exist |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
862 |
11849 | 863 $ echo '[acl]' >> $config |
864 $ echo 'config = ../acl.config' >> $config | |
865 $ do_push barney | |
866 Pushing as user barney | |
867 hgrc = """ | |
868 [hooks] | |
869 pretxnchangegroup.acl = python:hgext.acl.hook | |
870 [acl] | |
871 sources = push | |
872 [acl.allow] | |
873 foo/** = fred | |
874 [acl.deny] | |
875 foo/bar/** = fred | |
876 foo/Bar/** = fred | |
877 [acl.allow] | |
878 ** = barney | |
879 **/*.txt = wilma | |
880 [acl] | |
881 config = ../acl.config | |
882 """ | |
883 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
884 query 1; heads |
11849 | 885 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
886 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
887 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
888 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
889 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
890 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
891 listing keys for "bookmarks" |
11849 | 892 3 changesets found |
893 list of changesets: | |
894 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
895 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
896 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
897 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
898 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
899 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
900 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
901 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
902 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
903 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
904 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
905 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
906 adding changesets |
11849 | 907 changesets: 1 chunks |
908 add changeset ef1ea85a6374 | |
909 changesets: 2 chunks | |
910 add changeset f9cafe1212c8 | |
911 changesets: 3 chunks | |
912 add changeset 911600dab2ae | |
913 adding manifests | |
914 manifests: 1/3 chunks (33.33%) | |
915 manifests: 2/3 chunks (66.67%) | |
916 manifests: 3/3 chunks (100.00%) | |
917 adding file changes | |
918 adding foo/Bar/file.txt revisions | |
919 files: 1/3 chunks (33.33%) | |
920 adding foo/file.txt revisions | |
921 files: 2/3 chunks (66.67%) | |
922 adding quux/file.py revisions | |
923 files: 3/3 chunks (100.00%) | |
924 added 3 changesets with 3 changes to 3 files | |
925 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
926 acl: checking access for user "barney" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
927 error: pretxnchangegroup.acl hook raised an exception: [Errno 2] No such file or directory: '../acl.config' |
11849 | 928 transaction abort! |
929 rollback completed | |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
930 abort: No such file or directory: ../acl.config |
11849 | 931 no rollback information available |
932 0:6675d58eff77 | |
933 | |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
934 |
11849 | 935 betty is allowed inside foo/ by a acl.config file |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
936 |
11849 | 937 $ echo '[acl.allow]' >> acl.config |
938 $ echo 'foo/** = betty' >> acl.config | |
939 $ do_push betty | |
940 Pushing as user betty | |
941 hgrc = """ | |
942 [hooks] | |
943 pretxnchangegroup.acl = python:hgext.acl.hook | |
944 [acl] | |
945 sources = push | |
946 [acl.allow] | |
947 foo/** = fred | |
948 [acl.deny] | |
949 foo/bar/** = fred | |
950 foo/Bar/** = fred | |
951 [acl.allow] | |
952 ** = barney | |
953 **/*.txt = wilma | |
954 [acl] | |
955 config = ../acl.config | |
956 """ | |
957 acl.config = """ | |
958 [acl.allow] | |
959 foo/** = betty | |
960 """ | |
961 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
962 query 1; heads |
11849 | 963 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
964 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
965 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
966 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
967 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
968 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
969 listing keys for "bookmarks" |
11849 | 970 3 changesets found |
971 list of changesets: | |
972 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
973 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
974 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
975 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
976 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
977 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
978 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
979 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
980 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
981 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
982 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
983 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
984 adding changesets |
11849 | 985 changesets: 1 chunks |
986 add changeset ef1ea85a6374 | |
987 changesets: 2 chunks | |
988 add changeset f9cafe1212c8 | |
989 changesets: 3 chunks | |
990 add changeset 911600dab2ae | |
991 adding manifests | |
992 manifests: 1/3 chunks (33.33%) | |
993 manifests: 2/3 chunks (66.67%) | |
994 manifests: 3/3 chunks (100.00%) | |
995 adding file changes | |
996 adding foo/Bar/file.txt revisions | |
997 files: 1/3 chunks (33.33%) | |
998 adding foo/file.txt revisions | |
999 files: 2/3 chunks (66.67%) | |
1000 adding quux/file.py revisions | |
1001 files: 3/3 chunks (100.00%) | |
1002 added 3 changesets with 3 changes to 3 files | |
1003 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1004 acl: checking access for user "betty" |
11849 | 1005 acl: acl.allow.branches not enabled |
1006 acl: acl.deny.branches not enabled | |
1007 acl: acl.allow enabled, 1 entries for user betty | |
1008 acl: acl.deny enabled, 0 entries for user betty | |
1009 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1010 acl: path access granted: "ef1ea85a6374" |
11849 | 1011 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1012 acl: path access granted: "f9cafe1212c8" |
11849 | 1013 acl: branch access granted: "911600dab2ae" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1014 error: pretxnchangegroup.acl hook failed: acl: user "betty" not allowed on "quux/file.py" (changeset "911600dab2ae") |
11849 | 1015 transaction abort! |
1016 rollback completed | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1017 abort: acl: user "betty" not allowed on "quux/file.py" (changeset "911600dab2ae") |
11849 | 1018 no rollback information available |
1019 0:6675d58eff77 | |
1020 | |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
1021 |
11849 | 1022 acl.config can set only [acl.allow]/[acl.deny] |
3426
bb00a5a92c30
Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
1023 |
11849 | 1024 $ echo '[hooks]' >> acl.config |
1025 $ echo 'changegroup.acl = false' >> acl.config | |
1026 $ do_push barney | |
1027 Pushing as user barney | |
1028 hgrc = """ | |
1029 [hooks] | |
1030 pretxnchangegroup.acl = python:hgext.acl.hook | |
1031 [acl] | |
1032 sources = push | |
1033 [acl.allow] | |
1034 foo/** = fred | |
1035 [acl.deny] | |
1036 foo/bar/** = fred | |
1037 foo/Bar/** = fred | |
1038 [acl.allow] | |
1039 ** = barney | |
1040 **/*.txt = wilma | |
1041 [acl] | |
1042 config = ../acl.config | |
1043 """ | |
1044 acl.config = """ | |
1045 [acl.allow] | |
1046 foo/** = betty | |
1047 [hooks] | |
1048 changegroup.acl = false | |
1049 """ | |
1050 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1051 query 1; heads |
11849 | 1052 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1053 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
1054 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1055 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1056 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
1057 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1058 listing keys for "bookmarks" |
11849 | 1059 3 changesets found |
1060 list of changesets: | |
1061 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
1062 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
1063 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1064 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1065 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1066 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1067 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1068 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1069 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1070 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1071 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1072 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
1073 adding changesets |
11849 | 1074 changesets: 1 chunks |
1075 add changeset ef1ea85a6374 | |
1076 changesets: 2 chunks | |
1077 add changeset f9cafe1212c8 | |
1078 changesets: 3 chunks | |
1079 add changeset 911600dab2ae | |
1080 adding manifests | |
1081 manifests: 1/3 chunks (33.33%) | |
1082 manifests: 2/3 chunks (66.67%) | |
1083 manifests: 3/3 chunks (100.00%) | |
1084 adding file changes | |
1085 adding foo/Bar/file.txt revisions | |
1086 files: 1/3 chunks (33.33%) | |
1087 adding foo/file.txt revisions | |
1088 files: 2/3 chunks (66.67%) | |
1089 adding quux/file.py revisions | |
1090 files: 3/3 chunks (100.00%) | |
1091 added 3 changesets with 3 changes to 3 files | |
1092 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1093 acl: checking access for user "barney" |
11849 | 1094 acl: acl.allow.branches not enabled |
1095 acl: acl.deny.branches not enabled | |
1096 acl: acl.allow enabled, 1 entries for user barney | |
1097 acl: acl.deny enabled, 0 entries for user barney | |
1098 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1099 acl: path access granted: "ef1ea85a6374" |
11849 | 1100 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1101 acl: path access granted: "f9cafe1212c8" |
11849 | 1102 acl: branch access granted: "911600dab2ae" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1103 acl: path access granted: "911600dab2ae" |
20969
7a679918ee2b
localrepo: add unbundle support
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
18395
diff
changeset
|
1104 updating the branch cache |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1105 listing keys for "phases" |
17294
d2217df3a7cf
obsolete: add debug output regarding obsolete marker exchange.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17293
diff
changeset
|
1106 try to push obsolete markers to remote |
13446
1e497df514e2
rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents:
13364
diff
changeset
|
1107 repository tip rolled back to revision 0 (undo push) |
11849 | 1108 0:6675d58eff77 |
1109 | |
11043
08681cb66231
acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents:
10119
diff
changeset
|
1110 |
11849 | 1111 asterisk |
1112 | |
1113 $ init_config | |
1114 | |
1115 asterisk test | |
1116 | |
1117 $ echo '[acl.allow]' >> $config | |
1118 $ echo "** = fred" >> $config | |
1119 | |
1120 fred is always allowed | |
11043
08681cb66231
acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents:
10119
diff
changeset
|
1121 |
11849 | 1122 $ do_push fred |
1123 Pushing as user fred | |
1124 hgrc = """ | |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1125 [hooks] |
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1126 pretxnchangegroup.acl = python:hgext.acl.hook |
11849 | 1127 [acl] |
1128 sources = push | |
1129 [extensions] | |
1130 [acl.allow] | |
1131 ** = fred | |
1132 """ | |
1133 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1134 query 1; heads |
11849 | 1135 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1136 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
1137 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1138 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1139 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
1140 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1141 listing keys for "bookmarks" |
11849 | 1142 3 changesets found |
1143 list of changesets: | |
1144 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
1145 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
1146 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1147 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1148 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1149 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1150 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1151 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1152 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1153 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1154 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1155 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
1156 adding changesets |
11849 | 1157 changesets: 1 chunks |
1158 add changeset ef1ea85a6374 | |
1159 changesets: 2 chunks | |
1160 add changeset f9cafe1212c8 | |
1161 changesets: 3 chunks | |
1162 add changeset 911600dab2ae | |
1163 adding manifests | |
1164 manifests: 1/3 chunks (33.33%) | |
1165 manifests: 2/3 chunks (66.67%) | |
1166 manifests: 3/3 chunks (100.00%) | |
1167 adding file changes | |
1168 adding foo/Bar/file.txt revisions | |
1169 files: 1/3 chunks (33.33%) | |
1170 adding foo/file.txt revisions | |
1171 files: 2/3 chunks (66.67%) | |
1172 adding quux/file.py revisions | |
1173 files: 3/3 chunks (100.00%) | |
1174 added 3 changesets with 3 changes to 3 files | |
1175 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1176 acl: checking access for user "fred" |
11849 | 1177 acl: acl.allow.branches not enabled |
1178 acl: acl.deny.branches not enabled | |
1179 acl: acl.allow enabled, 1 entries for user fred | |
1180 acl: acl.deny not enabled | |
1181 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1182 acl: path access granted: "ef1ea85a6374" |
11849 | 1183 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1184 acl: path access granted: "f9cafe1212c8" |
11849 | 1185 acl: branch access granted: "911600dab2ae" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1186 acl: path access granted: "911600dab2ae" |
20969
7a679918ee2b
localrepo: add unbundle support
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
18395
diff
changeset
|
1187 updating the branch cache |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1188 listing keys for "phases" |
17294
d2217df3a7cf
obsolete: add debug output regarding obsolete marker exchange.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17293
diff
changeset
|
1189 try to push obsolete markers to remote |
13446
1e497df514e2
rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents:
13364
diff
changeset
|
1190 repository tip rolled back to revision 0 (undo push) |
11849 | 1191 0:6675d58eff77 |
1192 | |
11043
08681cb66231
acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents:
10119
diff
changeset
|
1193 |
11849 | 1194 $ echo '[acl.deny]' >> $config |
1195 $ echo "foo/Bar/** = *" >> $config | |
1196 | |
1197 no one is allowed inside foo/Bar/ | |
11043
08681cb66231
acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents:
10119
diff
changeset
|
1198 |
11849 | 1199 $ do_push fred |
1200 Pushing as user fred | |
1201 hgrc = """ | |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1202 [hooks] |
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1203 pretxnchangegroup.acl = python:hgext.acl.hook |
11849 | 1204 [acl] |
1205 sources = push | |
1206 [extensions] | |
1207 [acl.allow] | |
1208 ** = fred | |
1209 [acl.deny] | |
1210 foo/Bar/** = * | |
1211 """ | |
1212 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1213 query 1; heads |
11849 | 1214 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1215 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
1216 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1217 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1218 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
1219 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1220 listing keys for "bookmarks" |
11849 | 1221 3 changesets found |
1222 list of changesets: | |
1223 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
1224 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
1225 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1226 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1227 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1228 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1229 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1230 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1231 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1232 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1233 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1234 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
1235 adding changesets |
11849 | 1236 changesets: 1 chunks |
1237 add changeset ef1ea85a6374 | |
1238 changesets: 2 chunks | |
1239 add changeset f9cafe1212c8 | |
1240 changesets: 3 chunks | |
1241 add changeset 911600dab2ae | |
1242 adding manifests | |
1243 manifests: 1/3 chunks (33.33%) | |
1244 manifests: 2/3 chunks (66.67%) | |
1245 manifests: 3/3 chunks (100.00%) | |
1246 adding file changes | |
1247 adding foo/Bar/file.txt revisions | |
1248 files: 1/3 chunks (33.33%) | |
1249 adding foo/file.txt revisions | |
1250 files: 2/3 chunks (66.67%) | |
1251 adding quux/file.py revisions | |
1252 files: 3/3 chunks (100.00%) | |
1253 added 3 changesets with 3 changes to 3 files | |
1254 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1255 acl: checking access for user "fred" |
11849 | 1256 acl: acl.allow.branches not enabled |
1257 acl: acl.deny.branches not enabled | |
1258 acl: acl.allow enabled, 1 entries for user fred | |
1259 acl: acl.deny enabled, 1 entries for user fred | |
1260 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1261 acl: path access granted: "ef1ea85a6374" |
11849 | 1262 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1263 error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8") |
11849 | 1264 transaction abort! |
1265 rollback completed | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1266 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8") |
11849 | 1267 no rollback information available |
1268 0:6675d58eff77 | |
1269 | |
11043
08681cb66231
acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents:
10119
diff
changeset
|
1270 |
11849 | 1271 Groups |
1272 | |
1273 $ init_config | |
1274 | |
1275 OS-level groups | |
1276 | |
1277 $ echo '[acl.allow]' >> $config | |
1278 $ echo "** = @group1" >> $config | |
1279 | |
1280 @group1 is always allowed | |
11043
08681cb66231
acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents:
10119
diff
changeset
|
1281 |
11849 | 1282 $ do_push fred |
1283 Pushing as user fred | |
1284 hgrc = """ | |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1285 [hooks] |
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1286 pretxnchangegroup.acl = python:hgext.acl.hook |
11849 | 1287 [acl] |
1288 sources = push | |
1289 [extensions] | |
1290 [acl.allow] | |
1291 ** = @group1 | |
1292 """ | |
1293 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1294 query 1; heads |
11849 | 1295 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1296 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
1297 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1298 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1299 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
1300 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1301 listing keys for "bookmarks" |
11849 | 1302 3 changesets found |
1303 list of changesets: | |
1304 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
1305 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
1306 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1307 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1308 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1309 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1310 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1311 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1312 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1313 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1314 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1315 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
1316 adding changesets |
11849 | 1317 changesets: 1 chunks |
1318 add changeset ef1ea85a6374 | |
1319 changesets: 2 chunks | |
1320 add changeset f9cafe1212c8 | |
1321 changesets: 3 chunks | |
1322 add changeset 911600dab2ae | |
1323 adding manifests | |
1324 manifests: 1/3 chunks (33.33%) | |
1325 manifests: 2/3 chunks (66.67%) | |
1326 manifests: 3/3 chunks (100.00%) | |
1327 adding file changes | |
1328 adding foo/Bar/file.txt revisions | |
1329 files: 1/3 chunks (33.33%) | |
1330 adding foo/file.txt revisions | |
1331 files: 2/3 chunks (66.67%) | |
1332 adding quux/file.py revisions | |
1333 files: 3/3 chunks (100.00%) | |
1334 added 3 changesets with 3 changes to 3 files | |
1335 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1336 acl: checking access for user "fred" |
11849 | 1337 acl: acl.allow.branches not enabled |
1338 acl: acl.deny.branches not enabled | |
1339 acl: "group1" not defined in [acl.groups] | |
1340 acl: acl.allow enabled, 1 entries for user fred | |
1341 acl: acl.deny not enabled | |
1342 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1343 acl: path access granted: "ef1ea85a6374" |
11849 | 1344 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1345 acl: path access granted: "f9cafe1212c8" |
11849 | 1346 acl: branch access granted: "911600dab2ae" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1347 acl: path access granted: "911600dab2ae" |
20969
7a679918ee2b
localrepo: add unbundle support
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
18395
diff
changeset
|
1348 updating the branch cache |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1349 listing keys for "phases" |
17294
d2217df3a7cf
obsolete: add debug output regarding obsolete marker exchange.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17293
diff
changeset
|
1350 try to push obsolete markers to remote |
13446
1e497df514e2
rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents:
13364
diff
changeset
|
1351 repository tip rolled back to revision 0 (undo push) |
11849 | 1352 0:6675d58eff77 |
1353 | |
1354 | |
1355 $ echo '[acl.deny]' >> $config | |
1356 $ echo "foo/Bar/** = @group1" >> $config | |
1357 | |
1358 @group is allowed inside anything but foo/Bar/ | |
11043
08681cb66231
acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents:
10119
diff
changeset
|
1359 |
11849 | 1360 $ do_push fred |
1361 Pushing as user fred | |
1362 hgrc = """ | |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1363 [hooks] |
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1364 pretxnchangegroup.acl = python:hgext.acl.hook |
11849 | 1365 [acl] |
1366 sources = push | |
1367 [extensions] | |
1368 [acl.allow] | |
1369 ** = @group1 | |
1370 [acl.deny] | |
1371 foo/Bar/** = @group1 | |
1372 """ | |
1373 pushing to ../b | |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1374 query 1; heads |
11849 | 1375 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1376 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
1377 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1378 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1379 listing keys for "bookmarks" |
18382
f3b21beb9802
filtering: rename filters to their antonyms
Kevin Bullock <kbullock@ringworld.org>
parents:
18245
diff
changeset
|
1380 invalid branchheads cache (served): tip differs |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1381 listing keys for "bookmarks" |
11849 | 1382 3 changesets found |
1383 list of changesets: | |
1384 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | |
1385 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
1386 911600dab2ae7a9baff75958b84fe606851ce955 | |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1387 bundling: 1/3 changesets (33.33%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1388 bundling: 2/3 changesets (66.67%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1389 bundling: 3/3 changesets (100.00%) |
13116
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1390 bundling: 1/3 manifests (33.33%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1391 bundling: 2/3 manifests (66.67%) |
c36dad4f6e54
bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents:
12847
diff
changeset
|
1392 bundling: 3/3 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1393 bundling: foo/Bar/file.txt 1/3 files (33.33%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1394 bundling: foo/file.txt 2/3 files (66.67%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1395 bundling: quux/file.py 3/3 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
1396 adding changesets |
11849 | 1397 changesets: 1 chunks |
1398 add changeset ef1ea85a6374 | |
1399 changesets: 2 chunks | |
1400 add changeset f9cafe1212c8 | |
1401 changesets: 3 chunks | |
1402 add changeset 911600dab2ae | |
1403 adding manifests | |
1404 manifests: 1/3 chunks (33.33%) | |
1405 manifests: 2/3 chunks (66.67%) | |
1406 manifests: 3/3 chunks (100.00%) | |
1407 adding file changes | |
1408 adding foo/Bar/file.txt revisions | |
1409 files: 1/3 chunks (33.33%) | |
1410 adding foo/file.txt revisions | |
1411 files: 2/3 chunks (66.67%) | |
1412 adding quux/file.py revisions | |
1413 files: 3/3 chunks (100.00%) | |
1414 added 3 changesets with 3 changes to 3 files | |
1415 calling hook pretxnchangegroup.acl: hgext.acl.hook | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1416 acl: checking access for user "fred" |
11849 | 1417 acl: acl.allow.branches not enabled |
1418 acl: acl.deny.branches not enabled | |
1419 acl: "group1" not defined in [acl.groups] | |
1420 acl: acl.allow enabled, 1 entries for user fred | |
1421 acl: "group1" not defined in [acl.groups] | |
1422 acl: acl.deny enabled, 1 entries for user fred | |
1423 acl: branch access granted: "ef1ea85a6374" on branch "default" | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1424 acl: path access granted: "ef1ea85a6374" |
11849 | 1425 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1426 error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8") |
11849 | 1427 transaction abort! |
1428 rollback completed | |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1429 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8") |
11849 | 1430 no rollback information available |
1431 0:6675d58eff77 | |
1432 | |
11043
08681cb66231
acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents:
10119
diff
changeset
|
1433 |
11849 | 1434 Invalid group |
1435 | |
1436 Disable the fakegroups trick to get real failures | |
1437 | |
1438 $ grep -v fakegroups $config > config.tmp | |
1439 $ mv config.tmp $config | |
1440 $ echo '[acl.allow]' >> $config | |
1441 $ echo "** = @unlikelytoexist" >> $config | |
1442 $ do_push fred 2>&1 | grep unlikelytoexist | |
1443 ** = @unlikelytoexist | |
1444 acl: "unlikelytoexist" not defined in [acl.groups] | |
1445 error: pretxnchangegroup.acl hook failed: group 'unlikelytoexist' is undefined | |
1446 abort: group 'unlikelytoexist' is undefined | |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1447 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1448 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1449 Branch acl tests setup |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1450 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1451 $ init_config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1452 $ cd b |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1453 $ hg up |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1454 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1455 $ hg branch foobar |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1456 marked working directory as branch foobar |
15615 | 1457 (branches are permanent and global, did you want a bookmark?) |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1458 $ hg commit -m 'create foobar' |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1459 $ echo 'foo contents' > abc.txt |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1460 $ hg add abc.txt |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1461 $ hg commit -m 'foobar contents' |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1462 $ cd .. |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1463 $ hg --cwd a pull ../b |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1464 pulling from ../b |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1465 searching for changes |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1466 adding changesets |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1467 adding manifests |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1468 adding file changes |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1469 added 2 changesets with 1 changes to 1 files (+1 heads) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1470 (run 'hg heads' to see heads) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1471 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1472 Create additional changeset on foobar branch |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1473 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1474 $ cd a |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1475 $ hg up -C foobar |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1476 4 files updated, 0 files merged, 0 files removed, 0 files unresolved |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1477 $ echo 'foo contents2' > abc.txt |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1478 $ hg commit -m 'foobar contents2' |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1479 $ cd .. |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1480 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1481 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1482 No branch acls specified |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1483 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1484 $ do_push astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1485 Pushing as user astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1486 hgrc = """ |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1487 [hooks] |
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1488 pretxnchangegroup.acl = python:hgext.acl.hook |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1489 [acl] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1490 sources = push |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1491 [extensions] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1492 """ |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1493 pushing to ../b |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1494 query 1; heads |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1495 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1496 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
1497 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1498 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1499 listing keys for "bookmarks" |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1500 listing keys for "bookmarks" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1501 4 changesets found |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1502 list of changesets: |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1503 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1504 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1505 911600dab2ae7a9baff75958b84fe606851ce955 |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1506 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1507 bundling: 1/4 changesets (25.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1508 bundling: 2/4 changesets (50.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1509 bundling: 3/4 changesets (75.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1510 bundling: 4/4 changesets (100.00%) |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1511 bundling: 1/4 manifests (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1512 bundling: 2/4 manifests (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1513 bundling: 3/4 manifests (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1514 bundling: 4/4 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1515 bundling: abc.txt 1/4 files (25.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1516 bundling: foo/Bar/file.txt 2/4 files (50.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1517 bundling: foo/file.txt 3/4 files (75.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1518 bundling: quux/file.py 4/4 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
1519 adding changesets |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1520 changesets: 1 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1521 add changeset ef1ea85a6374 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1522 changesets: 2 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1523 add changeset f9cafe1212c8 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1524 changesets: 3 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1525 add changeset 911600dab2ae |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1526 changesets: 4 chunks |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1527 add changeset e8fc755d4d82 |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1528 adding manifests |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1529 manifests: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1530 manifests: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1531 manifests: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1532 manifests: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1533 adding file changes |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1534 adding abc.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1535 files: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1536 adding foo/Bar/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1537 files: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1538 adding foo/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1539 files: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1540 adding quux/file.py revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1541 files: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1542 added 4 changesets with 4 changes to 4 files (+1 heads) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1543 calling hook pretxnchangegroup.acl: hgext.acl.hook |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1544 acl: checking access for user "astro" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1545 acl: acl.allow.branches not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1546 acl: acl.deny.branches not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1547 acl: acl.allow not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1548 acl: acl.deny not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1549 acl: branch access granted: "ef1ea85a6374" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1550 acl: path access granted: "ef1ea85a6374" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1551 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1552 acl: path access granted: "f9cafe1212c8" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1553 acl: branch access granted: "911600dab2ae" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1554 acl: path access granted: "911600dab2ae" |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1555 acl: branch access granted: "e8fc755d4d82" on branch "foobar" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1556 acl: path access granted: "e8fc755d4d82" |
20969
7a679918ee2b
localrepo: add unbundle support
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
18395
diff
changeset
|
1557 updating the branch cache |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1558 listing keys for "phases" |
17294
d2217df3a7cf
obsolete: add debug output regarding obsolete marker exchange.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17293
diff
changeset
|
1559 try to push obsolete markers to remote |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1560 repository tip rolled back to revision 2 (undo push) |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1561 2:fb35475503ef |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1562 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1563 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1564 Branch acl deny test |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1565 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1566 $ echo "[acl.deny.branches]" >> $config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1567 $ echo "foobar = *" >> $config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1568 $ do_push astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1569 Pushing as user astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1570 hgrc = """ |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1571 [hooks] |
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1572 pretxnchangegroup.acl = python:hgext.acl.hook |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1573 [acl] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1574 sources = push |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1575 [extensions] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1576 [acl.deny.branches] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1577 foobar = * |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1578 """ |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1579 pushing to ../b |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1580 query 1; heads |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1581 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1582 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
1583 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1584 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1585 listing keys for "bookmarks" |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1586 listing keys for "bookmarks" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1587 4 changesets found |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1588 list of changesets: |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1589 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1590 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1591 911600dab2ae7a9baff75958b84fe606851ce955 |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1592 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1593 bundling: 1/4 changesets (25.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1594 bundling: 2/4 changesets (50.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1595 bundling: 3/4 changesets (75.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1596 bundling: 4/4 changesets (100.00%) |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1597 bundling: 1/4 manifests (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1598 bundling: 2/4 manifests (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1599 bundling: 3/4 manifests (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1600 bundling: 4/4 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1601 bundling: abc.txt 1/4 files (25.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1602 bundling: foo/Bar/file.txt 2/4 files (50.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1603 bundling: foo/file.txt 3/4 files (75.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1604 bundling: quux/file.py 4/4 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
1605 adding changesets |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1606 changesets: 1 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1607 add changeset ef1ea85a6374 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1608 changesets: 2 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1609 add changeset f9cafe1212c8 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1610 changesets: 3 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1611 add changeset 911600dab2ae |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1612 changesets: 4 chunks |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1613 add changeset e8fc755d4d82 |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1614 adding manifests |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1615 manifests: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1616 manifests: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1617 manifests: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1618 manifests: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1619 adding file changes |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1620 adding abc.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1621 files: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1622 adding foo/Bar/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1623 files: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1624 adding foo/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1625 files: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1626 adding quux/file.py revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1627 files: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1628 added 4 changesets with 4 changes to 4 files (+1 heads) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1629 calling hook pretxnchangegroup.acl: hgext.acl.hook |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1630 acl: checking access for user "astro" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1631 acl: acl.allow.branches not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1632 acl: acl.deny.branches enabled, 1 entries for user astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1633 acl: acl.allow not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1634 acl: acl.deny not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1635 acl: branch access granted: "ef1ea85a6374" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1636 acl: path access granted: "ef1ea85a6374" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1637 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1638 acl: path access granted: "f9cafe1212c8" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1639 acl: branch access granted: "911600dab2ae" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1640 acl: path access granted: "911600dab2ae" |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1641 error: pretxnchangegroup.acl hook failed: acl: user "astro" denied on branch "foobar" (changeset "e8fc755d4d82") |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1642 transaction abort! |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1643 rollback completed |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1644 abort: acl: user "astro" denied on branch "foobar" (changeset "e8fc755d4d82") |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1645 no rollback information available |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1646 2:fb35475503ef |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1647 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1648 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1649 Branch acl empty allow test |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1650 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1651 $ init_config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1652 $ echo "[acl.allow.branches]" >> $config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1653 $ do_push astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1654 Pushing as user astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1655 hgrc = """ |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1656 [hooks] |
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1657 pretxnchangegroup.acl = python:hgext.acl.hook |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1658 [acl] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1659 sources = push |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1660 [extensions] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1661 [acl.allow.branches] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1662 """ |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1663 pushing to ../b |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1664 query 1; heads |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1665 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1666 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
1667 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1668 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1669 listing keys for "bookmarks" |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1670 listing keys for "bookmarks" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1671 4 changesets found |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1672 list of changesets: |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1673 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1674 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1675 911600dab2ae7a9baff75958b84fe606851ce955 |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1676 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1677 bundling: 1/4 changesets (25.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1678 bundling: 2/4 changesets (50.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1679 bundling: 3/4 changesets (75.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1680 bundling: 4/4 changesets (100.00%) |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1681 bundling: 1/4 manifests (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1682 bundling: 2/4 manifests (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1683 bundling: 3/4 manifests (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1684 bundling: 4/4 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1685 bundling: abc.txt 1/4 files (25.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1686 bundling: foo/Bar/file.txt 2/4 files (50.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1687 bundling: foo/file.txt 3/4 files (75.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1688 bundling: quux/file.py 4/4 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
1689 adding changesets |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1690 changesets: 1 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1691 add changeset ef1ea85a6374 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1692 changesets: 2 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1693 add changeset f9cafe1212c8 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1694 changesets: 3 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1695 add changeset 911600dab2ae |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1696 changesets: 4 chunks |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1697 add changeset e8fc755d4d82 |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1698 adding manifests |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1699 manifests: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1700 manifests: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1701 manifests: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1702 manifests: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1703 adding file changes |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1704 adding abc.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1705 files: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1706 adding foo/Bar/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1707 files: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1708 adding foo/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1709 files: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1710 adding quux/file.py revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1711 files: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1712 added 4 changesets with 4 changes to 4 files (+1 heads) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1713 calling hook pretxnchangegroup.acl: hgext.acl.hook |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1714 acl: checking access for user "astro" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1715 acl: acl.allow.branches enabled, 0 entries for user astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1716 acl: acl.deny.branches not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1717 acl: acl.allow not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1718 acl: acl.deny not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1719 error: pretxnchangegroup.acl hook failed: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374") |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1720 transaction abort! |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1721 rollback completed |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1722 abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374") |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1723 no rollback information available |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1724 2:fb35475503ef |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1725 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1726 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1727 Branch acl allow other |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1728 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1729 $ init_config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1730 $ echo "[acl.allow.branches]" >> $config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1731 $ echo "* = george" >> $config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1732 $ do_push astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1733 Pushing as user astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1734 hgrc = """ |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1735 [hooks] |
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1736 pretxnchangegroup.acl = python:hgext.acl.hook |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1737 [acl] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1738 sources = push |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1739 [extensions] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1740 [acl.allow.branches] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1741 * = george |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1742 """ |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1743 pushing to ../b |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1744 query 1; heads |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1745 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1746 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
1747 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1748 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1749 listing keys for "bookmarks" |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1750 listing keys for "bookmarks" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1751 4 changesets found |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1752 list of changesets: |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1753 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1754 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1755 911600dab2ae7a9baff75958b84fe606851ce955 |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1756 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1757 bundling: 1/4 changesets (25.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1758 bundling: 2/4 changesets (50.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1759 bundling: 3/4 changesets (75.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1760 bundling: 4/4 changesets (100.00%) |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1761 bundling: 1/4 manifests (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1762 bundling: 2/4 manifests (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1763 bundling: 3/4 manifests (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1764 bundling: 4/4 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1765 bundling: abc.txt 1/4 files (25.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1766 bundling: foo/Bar/file.txt 2/4 files (50.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1767 bundling: foo/file.txt 3/4 files (75.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1768 bundling: quux/file.py 4/4 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
1769 adding changesets |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1770 changesets: 1 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1771 add changeset ef1ea85a6374 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1772 changesets: 2 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1773 add changeset f9cafe1212c8 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1774 changesets: 3 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1775 add changeset 911600dab2ae |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1776 changesets: 4 chunks |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1777 add changeset e8fc755d4d82 |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1778 adding manifests |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1779 manifests: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1780 manifests: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1781 manifests: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1782 manifests: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1783 adding file changes |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1784 adding abc.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1785 files: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1786 adding foo/Bar/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1787 files: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1788 adding foo/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1789 files: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1790 adding quux/file.py revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1791 files: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1792 added 4 changesets with 4 changes to 4 files (+1 heads) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1793 calling hook pretxnchangegroup.acl: hgext.acl.hook |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1794 acl: checking access for user "astro" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1795 acl: acl.allow.branches enabled, 0 entries for user astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1796 acl: acl.deny.branches not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1797 acl: acl.allow not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1798 acl: acl.deny not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1799 error: pretxnchangegroup.acl hook failed: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374") |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1800 transaction abort! |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1801 rollback completed |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1802 abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374") |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1803 no rollback information available |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1804 2:fb35475503ef |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1805 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1806 $ do_push george |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1807 Pushing as user george |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1808 hgrc = """ |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1809 [hooks] |
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1810 pretxnchangegroup.acl = python:hgext.acl.hook |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1811 [acl] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1812 sources = push |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1813 [extensions] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1814 [acl.allow.branches] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1815 * = george |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1816 """ |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1817 pushing to ../b |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1818 query 1; heads |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1819 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1820 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
1821 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1822 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1823 listing keys for "bookmarks" |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1824 listing keys for "bookmarks" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1825 4 changesets found |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1826 list of changesets: |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1827 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1828 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1829 911600dab2ae7a9baff75958b84fe606851ce955 |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1830 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1831 bundling: 1/4 changesets (25.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1832 bundling: 2/4 changesets (50.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1833 bundling: 3/4 changesets (75.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1834 bundling: 4/4 changesets (100.00%) |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1835 bundling: 1/4 manifests (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1836 bundling: 2/4 manifests (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1837 bundling: 3/4 manifests (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1838 bundling: 4/4 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1839 bundling: abc.txt 1/4 files (25.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1840 bundling: foo/Bar/file.txt 2/4 files (50.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1841 bundling: foo/file.txt 3/4 files (75.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1842 bundling: quux/file.py 4/4 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
1843 adding changesets |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1844 changesets: 1 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1845 add changeset ef1ea85a6374 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1846 changesets: 2 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1847 add changeset f9cafe1212c8 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1848 changesets: 3 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1849 add changeset 911600dab2ae |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1850 changesets: 4 chunks |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1851 add changeset e8fc755d4d82 |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1852 adding manifests |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1853 manifests: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1854 manifests: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1855 manifests: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1856 manifests: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1857 adding file changes |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1858 adding abc.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1859 files: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1860 adding foo/Bar/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1861 files: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1862 adding foo/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1863 files: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1864 adding quux/file.py revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1865 files: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1866 added 4 changesets with 4 changes to 4 files (+1 heads) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1867 calling hook pretxnchangegroup.acl: hgext.acl.hook |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1868 acl: checking access for user "george" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1869 acl: acl.allow.branches enabled, 1 entries for user george |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1870 acl: acl.deny.branches not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1871 acl: acl.allow not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1872 acl: acl.deny not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1873 acl: branch access granted: "ef1ea85a6374" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1874 acl: path access granted: "ef1ea85a6374" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1875 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1876 acl: path access granted: "f9cafe1212c8" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1877 acl: branch access granted: "911600dab2ae" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1878 acl: path access granted: "911600dab2ae" |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1879 acl: branch access granted: "e8fc755d4d82" on branch "foobar" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1880 acl: path access granted: "e8fc755d4d82" |
20969
7a679918ee2b
localrepo: add unbundle support
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
18395
diff
changeset
|
1881 updating the branch cache |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1882 listing keys for "phases" |
17294
d2217df3a7cf
obsolete: add debug output regarding obsolete marker exchange.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17293
diff
changeset
|
1883 try to push obsolete markers to remote |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1884 repository tip rolled back to revision 2 (undo push) |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1885 2:fb35475503ef |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1886 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1887 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1888 Branch acl conflicting allow |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1889 asterisk ends up applying to all branches and allowing george to |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1890 push foobar into the remote |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1891 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1892 $ init_config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1893 $ echo "[acl.allow.branches]" >> $config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1894 $ echo "foobar = astro" >> $config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1895 $ echo "* = george" >> $config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1896 $ do_push george |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1897 Pushing as user george |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1898 hgrc = """ |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1899 [hooks] |
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1900 pretxnchangegroup.acl = python:hgext.acl.hook |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1901 [acl] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1902 sources = push |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1903 [extensions] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1904 [acl.allow.branches] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1905 foobar = astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1906 * = george |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1907 """ |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1908 pushing to ../b |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1909 query 1; heads |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1910 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1911 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
1912 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1913 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
1914 listing keys for "bookmarks" |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1915 listing keys for "bookmarks" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1916 4 changesets found |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1917 list of changesets: |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1918 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1919 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1920 911600dab2ae7a9baff75958b84fe606851ce955 |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1921 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1922 bundling: 1/4 changesets (25.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1923 bundling: 2/4 changesets (50.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1924 bundling: 3/4 changesets (75.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
1925 bundling: 4/4 changesets (100.00%) |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1926 bundling: 1/4 manifests (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1927 bundling: 2/4 manifests (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1928 bundling: 3/4 manifests (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1929 bundling: 4/4 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1930 bundling: abc.txt 1/4 files (25.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1931 bundling: foo/Bar/file.txt 2/4 files (50.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1932 bundling: foo/file.txt 3/4 files (75.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
1933 bundling: quux/file.py 4/4 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
1934 adding changesets |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1935 changesets: 1 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1936 add changeset ef1ea85a6374 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1937 changesets: 2 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1938 add changeset f9cafe1212c8 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1939 changesets: 3 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1940 add changeset 911600dab2ae |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1941 changesets: 4 chunks |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1942 add changeset e8fc755d4d82 |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1943 adding manifests |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1944 manifests: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1945 manifests: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1946 manifests: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1947 manifests: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1948 adding file changes |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1949 adding abc.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1950 files: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1951 adding foo/Bar/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1952 files: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1953 adding foo/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1954 files: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1955 adding quux/file.py revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1956 files: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1957 added 4 changesets with 4 changes to 4 files (+1 heads) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1958 calling hook pretxnchangegroup.acl: hgext.acl.hook |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1959 acl: checking access for user "george" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1960 acl: acl.allow.branches enabled, 1 entries for user george |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1961 acl: acl.deny.branches not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1962 acl: acl.allow not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1963 acl: acl.deny not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1964 acl: branch access granted: "ef1ea85a6374" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1965 acl: path access granted: "ef1ea85a6374" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1966 acl: branch access granted: "f9cafe1212c8" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1967 acl: path access granted: "f9cafe1212c8" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1968 acl: branch access granted: "911600dab2ae" on branch "default" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1969 acl: path access granted: "911600dab2ae" |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1970 acl: branch access granted: "e8fc755d4d82" on branch "foobar" |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
1971 acl: path access granted: "e8fc755d4d82" |
20969
7a679918ee2b
localrepo: add unbundle support
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
18395
diff
changeset
|
1972 updating the branch cache |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
1973 listing keys for "phases" |
17294
d2217df3a7cf
obsolete: add debug output regarding obsolete marker exchange.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17293
diff
changeset
|
1974 try to push obsolete markers to remote |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1975 repository tip rolled back to revision 2 (undo push) |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
1976 2:fb35475503ef |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1977 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1978 Branch acl conflicting deny |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1979 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1980 $ init_config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1981 $ echo "[acl.deny.branches]" >> $config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1982 $ echo "foobar = astro" >> $config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1983 $ echo "default = astro" >> $config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1984 $ echo "* = george" >> $config |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1985 $ do_push george |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1986 Pushing as user george |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1987 hgrc = """ |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1988 [hooks] |
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
1989 pretxnchangegroup.acl = python:hgext.acl.hook |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1990 [acl] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1991 sources = push |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1992 [extensions] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1993 [acl.deny.branches] |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1994 foobar = astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1995 default = astro |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1996 * = george |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1997 """ |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
1998 pushing to ../b |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
1999 query 1; heads |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2000 searching for changes |
14164
cb98fed52495
discovery: add new set-based discovery
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14162
diff
changeset
|
2001 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
2002 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
2003 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
2004 listing keys for "bookmarks" |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
2005 listing keys for "bookmarks" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2006 4 changesets found |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2007 list of changesets: |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2008 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2009 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2010 911600dab2ae7a9baff75958b84fe606851ce955 |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
2011 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
14520
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
2012 bundling: 1/4 changesets (25.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
2013 bundling: 2/4 changesets (50.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
2014 bundling: 3/4 changesets (75.00%) |
9d8d2fecb72e
localrepo: add total to changeset progress in bundle/push
Sune Foldager <cryo@cyanite.org>
parents:
14164
diff
changeset
|
2015 bundling: 4/4 changesets (100.00%) |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2016 bundling: 1/4 manifests (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2017 bundling: 2/4 manifests (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2018 bundling: 3/4 manifests (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2019 bundling: 4/4 manifests (100.00%) |
14522
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
2020 bundling: abc.txt 1/4 files (25.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
2021 bundling: foo/Bar/file.txt 2/4 files (50.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
2022 bundling: foo/file.txt 3/4 files (75.00%) |
5ca61ef6ff00
localrepo: simplify file bundling code and fix progress bug
Sune Foldager <cryo@cyanite.org>
parents:
14520
diff
changeset
|
2023 bundling: quux/file.py 4/4 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
2024 adding changesets |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2025 changesets: 1 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2026 add changeset ef1ea85a6374 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2027 changesets: 2 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2028 add changeset f9cafe1212c8 |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2029 changesets: 3 chunks |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2030 add changeset 911600dab2ae |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2031 changesets: 4 chunks |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
2032 add changeset e8fc755d4d82 |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2033 adding manifests |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2034 manifests: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2035 manifests: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2036 manifests: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2037 manifests: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2038 adding file changes |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2039 adding abc.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2040 files: 1/4 chunks (25.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2041 adding foo/Bar/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2042 files: 2/4 chunks (50.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2043 adding foo/file.txt revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2044 files: 3/4 chunks (75.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2045 adding quux/file.py revisions |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2046 files: 4/4 chunks (100.00%) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2047 added 4 changesets with 4 changes to 4 files (+1 heads) |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2048 calling hook pretxnchangegroup.acl: hgext.acl.hook |
15207
0f7f9f06c759
acl: more descriptive error messages
Elifarley Callado Coelho Cruz
parents:
15131
diff
changeset
|
2049 acl: checking access for user "george" |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2050 acl: acl.allow.branches not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2051 acl: acl.deny.branches enabled, 1 entries for user george |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2052 acl: acl.allow not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2053 acl: acl.deny not enabled |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2054 error: pretxnchangegroup.acl hook failed: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374") |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2055 transaction abort! |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2056 rollback completed |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2057 abort: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374") |
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2058 no rollback information available |
14162
301725c3df9a
localrepo: reuse parent manifest in commitctx if no files have changed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
14073
diff
changeset
|
2059 2:fb35475503ef |
13917
3259a067c102
acl: add branch tests for the current behavior of acl extension
John Mulligan <phlogistonjohn@asynchrono.us>
parents:
13783
diff
changeset
|
2060 |
16956
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2061 User 'astro' must not be denied |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2062 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2063 $ init_config |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2064 $ echo "[acl.deny.branches]" >> $config |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2065 $ echo "default = !astro" >> $config |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2066 $ do_push astro |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2067 Pushing as user astro |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2068 hgrc = """ |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
2069 [hooks] |
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
2070 pretxnchangegroup.acl = python:hgext.acl.hook |
16956
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2071 [acl] |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2072 sources = push |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2073 [extensions] |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2074 [acl.deny.branches] |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2075 default = !astro |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2076 """ |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2077 pushing to ../b |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2078 query 1; heads |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2079 searching for changes |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2080 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
2081 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
2082 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
2083 listing keys for "bookmarks" |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
2084 listing keys for "bookmarks" |
16956
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2085 4 changesets found |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2086 list of changesets: |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2087 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2088 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2089 911600dab2ae7a9baff75958b84fe606851ce955 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2090 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2091 bundling: 1/4 changesets (25.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2092 bundling: 2/4 changesets (50.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2093 bundling: 3/4 changesets (75.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2094 bundling: 4/4 changesets (100.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2095 bundling: 1/4 manifests (25.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2096 bundling: 2/4 manifests (50.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2097 bundling: 3/4 manifests (75.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2098 bundling: 4/4 manifests (100.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2099 bundling: abc.txt 1/4 files (25.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2100 bundling: foo/Bar/file.txt 2/4 files (50.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2101 bundling: foo/file.txt 3/4 files (75.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2102 bundling: quux/file.py 4/4 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
2103 adding changesets |
16956
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2104 changesets: 1 chunks |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2105 add changeset ef1ea85a6374 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2106 changesets: 2 chunks |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2107 add changeset f9cafe1212c8 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2108 changesets: 3 chunks |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2109 add changeset 911600dab2ae |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2110 changesets: 4 chunks |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2111 add changeset e8fc755d4d82 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2112 adding manifests |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2113 manifests: 1/4 chunks (25.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2114 manifests: 2/4 chunks (50.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2115 manifests: 3/4 chunks (75.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2116 manifests: 4/4 chunks (100.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2117 adding file changes |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2118 adding abc.txt revisions |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2119 files: 1/4 chunks (25.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2120 adding foo/Bar/file.txt revisions |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2121 files: 2/4 chunks (50.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2122 adding foo/file.txt revisions |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2123 files: 3/4 chunks (75.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2124 adding quux/file.py revisions |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2125 files: 4/4 chunks (100.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2126 added 4 changesets with 4 changes to 4 files (+1 heads) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2127 calling hook pretxnchangegroup.acl: hgext.acl.hook |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2128 acl: checking access for user "astro" |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2129 acl: acl.allow.branches not enabled |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2130 acl: acl.deny.branches enabled, 0 entries for user astro |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2131 acl: acl.allow not enabled |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2132 acl: acl.deny not enabled |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2133 acl: branch access granted: "ef1ea85a6374" on branch "default" |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2134 acl: path access granted: "ef1ea85a6374" |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2135 acl: branch access granted: "f9cafe1212c8" on branch "default" |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2136 acl: path access granted: "f9cafe1212c8" |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2137 acl: branch access granted: "911600dab2ae" on branch "default" |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2138 acl: path access granted: "911600dab2ae" |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2139 acl: branch access granted: "e8fc755d4d82" on branch "foobar" |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2140 acl: path access granted: "e8fc755d4d82" |
20969
7a679918ee2b
localrepo: add unbundle support
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
18395
diff
changeset
|
2141 updating the branch cache |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
2142 listing keys for "phases" |
17294
d2217df3a7cf
obsolete: add debug output regarding obsolete marker exchange.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
17293
diff
changeset
|
2143 try to push obsolete markers to remote |
16956
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2144 repository tip rolled back to revision 2 (undo push) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2145 2:fb35475503ef |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2146 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2147 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2148 Non-astro users must be denied |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2149 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2150 $ do_push george |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2151 Pushing as user george |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2152 hgrc = """ |
22379
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
2153 [hooks] |
38a393d59e77
test-acl: alter sed construct to avoid changes in .hg/hgrc formatting
Augie Fackler <raf@durin42.com>
parents:
22239
diff
changeset
|
2154 pretxnchangegroup.acl = python:hgext.acl.hook |
16956
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2155 [acl] |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2156 sources = push |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2157 [extensions] |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2158 [acl.deny.branches] |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2159 default = !astro |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2160 """ |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2161 pushing to ../b |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2162 query 1; heads |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2163 searching for changes |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2164 all remote heads known locally |
22019
9fcf772f15ff
push: perform phases discovery before the push
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
21070
diff
changeset
|
2165 listing keys for "phases" |
22239
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
2166 checking for updated bookmarks |
0688010ee38f
push: move bookmark discovery with other discovery steps
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
22019
diff
changeset
|
2167 listing keys for "bookmarks" |
17293
d3f84ccc5495
pushkey: add more verbose debug output regarding pushkey
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
16956
diff
changeset
|
2168 listing keys for "bookmarks" |
16956
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2169 4 changesets found |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2170 list of changesets: |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2171 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2172 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2173 911600dab2ae7a9baff75958b84fe606851ce955 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2174 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2175 bundling: 1/4 changesets (25.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2176 bundling: 2/4 changesets (50.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2177 bundling: 3/4 changesets (75.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2178 bundling: 4/4 changesets (100.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2179 bundling: 1/4 manifests (25.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2180 bundling: 2/4 manifests (50.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2181 bundling: 3/4 manifests (75.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2182 bundling: 4/4 manifests (100.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2183 bundling: abc.txt 1/4 files (25.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2184 bundling: foo/Bar/file.txt 2/4 files (50.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2185 bundling: foo/file.txt 3/4 files (75.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2186 bundling: quux/file.py 4/4 files (100.00%) |
21070
408877d491fb
bundle2: feed a binary stream to `peer.unbundle`
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
20969
diff
changeset
|
2187 adding changesets |
16956
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2188 changesets: 1 chunks |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2189 add changeset ef1ea85a6374 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2190 changesets: 2 chunks |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2191 add changeset f9cafe1212c8 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2192 changesets: 3 chunks |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2193 add changeset 911600dab2ae |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2194 changesets: 4 chunks |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2195 add changeset e8fc755d4d82 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2196 adding manifests |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2197 manifests: 1/4 chunks (25.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2198 manifests: 2/4 chunks (50.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2199 manifests: 3/4 chunks (75.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2200 manifests: 4/4 chunks (100.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2201 adding file changes |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2202 adding abc.txt revisions |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2203 files: 1/4 chunks (25.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2204 adding foo/Bar/file.txt revisions |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2205 files: 2/4 chunks (50.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2206 adding foo/file.txt revisions |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2207 files: 3/4 chunks (75.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2208 adding quux/file.py revisions |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2209 files: 4/4 chunks (100.00%) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2210 added 4 changesets with 4 changes to 4 files (+1 heads) |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2211 calling hook pretxnchangegroup.acl: hgext.acl.hook |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2212 acl: checking access for user "george" |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2213 acl: acl.allow.branches not enabled |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2214 acl: acl.deny.branches enabled, 1 entries for user george |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2215 acl: acl.allow not enabled |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2216 acl: acl.deny not enabled |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2217 error: pretxnchangegroup.acl hook failed: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374") |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2218 transaction abort! |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2219 rollback completed |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2220 abort: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374") |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2221 no rollback information available |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2222 2:fb35475503ef |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2223 |
c49cf339b5bb
acl: use of "!" prefix in user or group names
Elifarley Callado Coelho Cruz
parents:
16945
diff
changeset
|
2224 |