annotate tests/test-acl.t @ 13604:3f6a4579f803

hg: add support for cloning bookmarks
author David Soria Parra <dsp@php.net>
date Sun, 13 Mar 2011 12:24:17 +0100
parents 1e497df514e2
children c196352d935b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1 > do_push()
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
2 > {
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
3 > user=$1
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
4 > shift
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
5 > echo "Pushing as user $user"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
6 > echo 'hgrc = """'
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
7 > sed -e 1,2d b/.hg/hgrc | grep -v fakegroups.py
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
8 > echo '"""'
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
9 > if test -f acl.config; then
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
10 > echo 'acl.config = """'
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
11 > cat acl.config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
12 > echo '"""'
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
13 > fi
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
14 > # On AIX /etc/profile sets LOGNAME read-only. So
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
15 > # LOGNAME=$user hg --cws a --debug push ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
16 > # fails with "This variable is read only."
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
17 > # Use env to work around this.
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
18 > env LOGNAME=$user hg --cwd a --debug push ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
19 > hg --cwd b rollback
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
20 > hg --cwd b --quiet tip
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
21 > echo
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
22 > }
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
23
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
24 > init_config()
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
25 > {
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
26 > cat > fakegroups.py <<EOF
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
27 > from hgext import acl
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
28 > def fakegetusers(ui, group):
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
29 > try:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
30 > return acl._getusersorig(ui, group)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
31 > except:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
32 > return ["fred", "betty"]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
33 > acl._getusersorig = acl._getusers
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
34 > acl._getusers = fakegetusers
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
35 > EOF
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
36 > rm -f acl.config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
37 > cat > $config <<EOF
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
38 > [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
39 > pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
40 > [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
41 > sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
42 > [extensions]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
43 > f=`pwd`/fakegroups.py
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
44 > EOF
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
45 > }
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
46
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
47 $ hg init a
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
48 $ cd a
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
49 $ mkdir foo foo/Bar quux
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
50 $ echo 'in foo' > foo/file.txt
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
51 $ echo 'in foo/Bar' > foo/Bar/file.txt
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
52 $ echo 'in quux' > quux/file.py
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
53 $ hg add -q
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
54 $ hg ci -m 'add files' -d '1000000 0'
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
55 $ echo >> foo/file.txt
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
56 $ hg ci -m 'change foo/file' -d '1000001 0'
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
57 $ echo >> foo/Bar/file.txt
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
58 $ hg ci -m 'change foo/Bar/file' -d '1000002 0'
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
59 $ echo >> quux/file.py
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
60 $ hg ci -m 'change quux/file' -d '1000003 0'
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
61 $ hg tip --quiet
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
62 3:911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
63
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
64 $ cd ..
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
65 $ hg clone -r 0 a b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
66 adding changesets
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
67 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
68 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
69 added 1 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
70 updating to branch default
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
71 3 files updated, 0 files merged, 0 files removed, 0 files unresolved
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
72
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
73 $ echo '[extensions]' >> $HGRCPATH
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
74 $ echo 'acl =' >> $HGRCPATH
3426
bb00a5a92c30 Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
75
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
76 $ config=b/.hg/hgrc
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
78 Extension disabled for lack of a hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
79
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
80 $ do_push fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
81 Pushing as user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
82 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
83 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
84 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
85 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
86 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
87 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
88 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
89 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
90 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
91 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
92 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
93 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
94 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
95 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
96 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
97 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
98 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
99 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
100 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
101 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
102 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
103 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
104 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
105 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
106 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
107 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
108 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
109 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
110 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
111 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
112 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
113 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
114 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
115 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
116 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
117 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
118 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
119 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
120 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
121 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
122 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
123 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
124 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
125 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
126 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
127 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
128 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
129 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
130 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
131 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
132 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
133 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
134 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
135 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
136 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
137 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
138 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
139 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
140 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
141 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
142 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
143 updating the branch cache
13364
ddddb76f2da3 bookmarks: merge low-level push/pull support into core
Matt Mackall <mpm@selenic.com>
parents: 13116
diff changeset
144 checking for updated bookmarks
13446
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
145 repository tip rolled back to revision 0 (undo push)
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
146 working directory now based on revision 0
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
147 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
148
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
149
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
150 $ echo '[hooks]' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
151 $ echo 'pretxnchangegroup.acl = python:hgext.acl.hook' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
152
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
153 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
154
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
155 $ do_push fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
156 Pushing as user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
157 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
158 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
159 pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
160 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
161 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
162 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
163 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
164 invalidating branch cache (tip differs)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
165 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
166 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
167 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
168 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
169 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
170 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
171 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
172 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
173 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
174 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
175 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
176 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
177 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
178 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
179 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
180 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
181 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
182 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
183 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
184 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
185 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
186 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
187 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
188 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
189 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
190 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
191 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
192 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
193 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
194 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
195 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
196 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
197 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
198 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
199 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
200 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
201 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
202 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
203 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
204 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
205 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
206 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
207 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
208 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
209 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
210 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
211 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
212 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
213 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
214 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
215 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
216 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
217 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
218 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
219 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
220 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
221 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
222 acl: changes have source "push" - skipping
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
223 updating the branch cache
13364
ddddb76f2da3 bookmarks: merge low-level push/pull support into core
Matt Mackall <mpm@selenic.com>
parents: 13116
diff changeset
224 checking for updated bookmarks
13446
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
225 repository tip rolled back to revision 0 (undo push)
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
226 working directory now based on revision 0
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
227 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
228
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
229
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
230 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
231
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
232 $ echo '[acl]' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
233 $ echo 'sources = push' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
234 $ do_push fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
235 Pushing as user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
236 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
237 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
238 pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
239 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
240 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
241 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
242 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
243 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
244 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
245 invalidating branch cache (tip differs)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
246 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
247 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
248 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
249 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
250 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
251 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
252 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
253 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
254 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
255 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
256 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
257 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
258 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
259 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
260 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
261 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
262 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
263 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
264 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
265 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
266 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
267 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
268 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
269 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
270 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
271 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
272 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
273 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
274 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
275 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
276 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
277 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
278 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
279 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
280 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
281 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
282 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
283 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
284 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
285 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
286 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
287 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
288 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
289 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
290 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
291 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
292 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
293 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
294 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
295 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
296 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
297 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
298 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
299 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
300 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
301 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
302 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
303 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
304 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
305 acl: acl.allow not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
306 acl: acl.deny not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
307 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
308 acl: allowing changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
309 acl: branch access granted: "f9cafe1212c8" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
310 acl: allowing changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
311 acl: branch access granted: "911600dab2ae" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
312 acl: allowing changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
313 updating the branch cache
13364
ddddb76f2da3 bookmarks: merge low-level push/pull support into core
Matt Mackall <mpm@selenic.com>
parents: 13116
diff changeset
314 checking for updated bookmarks
13446
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
315 repository tip rolled back to revision 0 (undo push)
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
316 working directory now based on revision 0
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
317 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
318
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
319
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
320 Empty [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
321
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
322 $ echo '[acl.allow]' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
323 $ do_push fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
324 Pushing as user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
325 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
326 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
327 pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
328 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
329 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
330 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
331 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
332 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
333 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
334 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
335 invalidating branch cache (tip differs)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
336 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
337 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
338 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
339 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
340 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
341 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
342 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
343 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
344 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
345 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
346 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
347 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
348 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
349 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
350 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
351 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
352 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
353 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
354 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
355 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
356 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
357 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
358 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
359 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
360 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
361 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
362 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
363 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
364 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
365 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
366 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
367 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
368 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
369 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
370 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
371 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
372 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
373 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
374 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
375 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
376 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
377 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
378 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
379 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
380 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
381 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
382 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
383 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
384 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
385 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
386 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
387 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
388 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
389 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
390 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
391 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
392 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
393 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
394 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
395 acl: acl.allow enabled, 0 entries for user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
396 acl: acl.deny not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
397 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
398 acl: user fred not allowed on foo/file.txt
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
399 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
400 transaction abort!
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
401 rollback completed
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
402 abort: acl: access denied for changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
403 no rollback information available
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
404 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
405
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
406
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
407 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
408
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
409 $ echo 'foo/** = fred' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
410 $ do_push fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
411 Pushing as user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
412 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
413 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
414 pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
415 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
416 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
417 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
418 foo/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
419 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
420 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
421 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
422 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
423 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
424 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
425 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
426 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
427 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
428 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
429 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
430 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
431 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
432 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
433 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
434 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
435 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
436 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
437 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
438 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
439 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
440 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
441 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
442 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
443 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
444 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
445 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
446 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
447 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
448 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
449 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
450 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
451 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
452 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
453 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
454 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
455 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
456 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
457 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
458 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
459 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
460 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
461 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
462 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
463 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
464 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
465 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
466 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
467 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
468 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
469 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
470 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
471 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
472 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
473 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
474 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
475 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
476 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
477 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
478 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
479 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
480 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
481 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
482 acl: acl.allow enabled, 1 entries for user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
483 acl: acl.deny not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
484 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
485 acl: allowing changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
486 acl: branch access granted: "f9cafe1212c8" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
487 acl: allowing changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
488 acl: branch access granted: "911600dab2ae" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
489 acl: user fred not allowed on quux/file.py
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
490 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
491 transaction abort!
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
492 rollback completed
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
493 abort: acl: access denied for changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
494 no rollback information available
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
495 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
496
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
497
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
498 Empty [acl.deny]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
499
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
500 $ echo '[acl.deny]' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
501 $ do_push barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
502 Pushing as user barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
503 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
504 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
505 pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
506 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
507 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
508 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
509 foo/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
510 [acl.deny]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
511 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
512 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
513 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
514 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
515 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
516 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
517 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
518 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
519 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
520 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
521 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
522 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
523 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
524 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
525 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
526 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
527 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
528 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
529 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
530 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
531 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
532 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
533 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
534 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
535 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
536 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
537 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
538 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
539 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
540 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
541 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
542 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
543 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
544 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
545 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
546 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
547 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
548 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
549 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
550 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
551 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
552 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
553 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
554 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
555 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
556 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
557 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
558 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
559 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
560 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
561 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
562 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
563 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
564 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
565 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
566 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
567 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
568 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
569 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
570 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
571 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
572 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
573 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
574 acl: acl.allow enabled, 0 entries for user barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
575 acl: acl.deny enabled, 0 entries for user barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
576 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
577 acl: user barney not allowed on foo/file.txt
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
578 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
579 transaction abort!
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
580 rollback completed
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
581 abort: acl: access denied for changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
582 no rollback information available
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
583 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
584
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
585
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
586 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
587
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
588 $ echo 'foo/bar/** = fred' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
589 $ do_push fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
590 Pushing as user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
591 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
592 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
593 pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
594 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
595 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
596 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
597 foo/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
598 [acl.deny]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
599 foo/bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
600 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
601 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
602 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
603 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
604 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
605 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
606 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
607 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
608 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
609 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
610 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
611 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
612 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
613 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
614 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
615 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
616 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
617 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
618 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
619 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
620 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
621 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
622 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
623 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
624 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
625 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
626 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
627 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
628 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
629 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
630 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
631 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
632 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
633 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
634 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
635 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
636 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
637 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
638 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
639 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
640 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
641 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
642 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
643 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
644 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
645 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
646 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
647 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
648 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
649 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
650 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
651 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
652 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
653 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
654 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
655 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
656 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
657 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
658 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
659 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
660 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
661 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
662 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
663 acl: acl.allow enabled, 1 entries for user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
664 acl: acl.deny enabled, 1 entries for user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
665 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
666 acl: allowing changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
667 acl: branch access granted: "f9cafe1212c8" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
668 acl: allowing changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
669 acl: branch access granted: "911600dab2ae" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
670 acl: user fred not allowed on quux/file.py
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
671 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
672 transaction abort!
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
673 rollback completed
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
674 abort: acl: access denied for changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
675 no rollback information available
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
676 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
677
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
678
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
679 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
680
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
681 $ echo 'foo/Bar/** = fred' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
682 $ do_push fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
683 Pushing as user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
684 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
685 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
686 pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
687 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
688 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
689 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
690 foo/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
691 [acl.deny]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
692 foo/bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
693 foo/Bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
694 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
695 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
696 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
697 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
698 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
699 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
700 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
701 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
702 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
703 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
704 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
705 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
706 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
707 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
708 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
709 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
710 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
711 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
712 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
713 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
714 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
715 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
716 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
717 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
718 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
719 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
720 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
721 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
722 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
723 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
724 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
725 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
726 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
727 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
728 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
729 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
730 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
731 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
732 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
733 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
734 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
735 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
736 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
737 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
738 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
739 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
740 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
741 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
742 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
743 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
744 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
745 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
746 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
747 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
748 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
749 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
750 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
751 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
752 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
753 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
754 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
755 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
756 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
757 acl: acl.allow enabled, 1 entries for user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
758 acl: acl.deny enabled, 2 entries for user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
759 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
760 acl: allowing changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
761 acl: branch access granted: "f9cafe1212c8" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
762 acl: user fred denied on foo/Bar/file.txt
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
763 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
764 transaction abort!
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
765 rollback completed
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
766 abort: acl: access denied for changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
767 no rollback information available
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
768 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
769
3426
bb00a5a92c30 Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
770
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
771 $ echo 'barney is not mentioned => not allowed anywhere'
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
772 barney is not mentioned => not allowed anywhere
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
773 $ do_push barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
774 Pushing as user barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
775 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
776 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
777 pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
778 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
779 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
780 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
781 foo/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
782 [acl.deny]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
783 foo/bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
784 foo/Bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
785 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
786 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
787 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
788 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
789 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
790 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
791 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
792 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
793 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
794 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
795 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
796 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
797 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
798 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
799 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
800 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
801 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
802 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
803 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
804 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
805 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
806 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
807 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
808 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
809 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
810 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
811 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
812 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
813 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
814 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
815 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
816 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
817 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
818 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
819 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
820 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
821 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
822 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
823 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
824 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
825 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
826 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
827 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
828 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
829 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
830 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
831 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
832 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
833 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
834 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
835 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
836 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
837 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
838 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
839 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
840 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
841 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
842 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
843 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
844 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
845 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
846 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
847 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
848 acl: acl.allow enabled, 0 entries for user barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
849 acl: acl.deny enabled, 0 entries for user barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
850 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
851 acl: user barney not allowed on foo/file.txt
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
852 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
853 transaction abort!
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
854 rollback completed
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
855 abort: acl: access denied for changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
856 no rollback information available
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
857 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
858
3426
bb00a5a92c30 Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
859
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
860 barney is allowed everywhere
3426
bb00a5a92c30 Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
861
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
862 $ echo '[acl.allow]' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
863 $ echo '** = barney' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
864 $ do_push barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
865 Pushing as user barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
866 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
867 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
868 pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
869 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
870 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
871 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
872 foo/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
873 [acl.deny]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
874 foo/bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
875 foo/Bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
876 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
877 ** = barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
878 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
879 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
880 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
881 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
882 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
883 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
884 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
885 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
886 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
887 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
888 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
889 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
890 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
891 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
892 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
893 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
894 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
895 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
896 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
897 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
898 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
899 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
900 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
901 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
902 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
903 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
904 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
905 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
906 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
907 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
908 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
909 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
910 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
911 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
912 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
913 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
914 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
915 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
916 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
917 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
918 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
919 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
920 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
921 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
922 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
923 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
924 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
925 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
926 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
927 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
928 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
929 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
930 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
931 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
932 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
933 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
934 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
935 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
936 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
937 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
938 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
939 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
940 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
941 acl: acl.allow enabled, 1 entries for user barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
942 acl: acl.deny enabled, 0 entries for user barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
943 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
944 acl: allowing changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
945 acl: branch access granted: "f9cafe1212c8" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
946 acl: allowing changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
947 acl: branch access granted: "911600dab2ae" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
948 acl: allowing changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
949 updating the branch cache
13364
ddddb76f2da3 bookmarks: merge low-level push/pull support into core
Matt Mackall <mpm@selenic.com>
parents: 13116
diff changeset
950 checking for updated bookmarks
13446
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
951 repository tip rolled back to revision 0 (undo push)
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
952 working directory now based on revision 0
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
953 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
954
3426
bb00a5a92c30 Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
955
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
956 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
957
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
958 $ echo '**/*.txt = wilma' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
959 $ do_push wilma
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
960 Pushing as user wilma
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
961 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
962 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
963 pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
964 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
965 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
966 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
967 foo/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
968 [acl.deny]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
969 foo/bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
970 foo/Bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
971 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
972 ** = barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
973 **/*.txt = wilma
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
974 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
975 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
976 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
977 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
978 invalidating branch cache (tip differs)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
979 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
980 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
981 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
982 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
983 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
984 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
985 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
986 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
987 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
988 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
989 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
990 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
991 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
992 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
993 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
994 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
995 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
996 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
997 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
998 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
999 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1000 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1001 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1002 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1003 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1004 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1005 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1006 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1007 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1008 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1009 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1010 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1011 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1012 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1013 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1014 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1015 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1016 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1017 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1018 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1019 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1020 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1021 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1022 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1023 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1024 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1025 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1026 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1027 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1028 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1029 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1030 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1031 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1032 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1033 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1034 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1035 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1036 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1037 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1038 acl: acl.allow enabled, 1 entries for user wilma
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1039 acl: acl.deny enabled, 0 entries for user wilma
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1040 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1041 acl: allowing changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1042 acl: branch access granted: "f9cafe1212c8" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1043 acl: allowing changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1044 acl: branch access granted: "911600dab2ae" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1045 acl: user wilma not allowed on quux/file.py
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1046 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1047 transaction abort!
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1048 rollback completed
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1049 abort: acl: access denied for changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1050 no rollback information available
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1051 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1052
3426
bb00a5a92c30 Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
1053
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1054 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
1055
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1056 $ echo '[acl]' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1057 $ echo 'config = ../acl.config' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1058 $ do_push barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1059 Pushing as user barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1060 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1061 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1062 pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1063 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1064 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1065 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1066 foo/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1067 [acl.deny]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1068 foo/bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1069 foo/Bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1070 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1071 ** = barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1072 **/*.txt = wilma
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1073 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1074 config = ../acl.config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1075 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1076 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1077 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1078 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1079 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1080 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1081 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1082 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1083 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1084 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1085 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1086 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1087 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1088 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1089 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1090 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1091 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1092 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1093 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1094 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1095 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1096 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1097 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1098 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1099 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1100 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1101 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1102 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1103 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1104 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1105 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1106 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1107 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1108 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1109 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1110 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1111 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1112 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1113 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1114 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1115 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1116 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1117 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1118 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1119 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1120 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1121 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1122 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1123 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1124 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1125 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1126 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1127 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1128 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1129 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1130 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1131 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1132 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1133 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1134 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1135 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1136 error: pretxnchangegroup.acl hook raised an exception: [Errno 2] No such file or directory: '../acl.config'
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1137 transaction abort!
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1138 rollback completed
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1139 abort: No such file or directory: ../acl.config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1140 no rollback information available
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1141 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1142
3426
bb00a5a92c30 Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
1143
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1144 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
1145
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1146 $ echo '[acl.allow]' >> acl.config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1147 $ echo 'foo/** = betty' >> acl.config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1148 $ do_push betty
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1149 Pushing as user betty
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1150 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1151 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1152 pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1153 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1154 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1155 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1156 foo/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1157 [acl.deny]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1158 foo/bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1159 foo/Bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1160 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1161 ** = barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1162 **/*.txt = wilma
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1163 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1164 config = ../acl.config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1165 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1166 acl.config = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1167 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1168 foo/** = betty
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1169 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1170 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1171 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1172 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1173 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1174 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1175 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1176 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1177 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1178 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1179 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1180 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1181 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1182 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1183 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1184 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1185 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1186 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1187 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1188 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1189 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1190 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1191 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1192 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1193 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1194 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1195 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1196 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1197 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1198 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1199 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1200 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1201 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1202 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1203 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1204 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1205 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1206 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1207 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1208 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1209 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1210 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1211 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1212 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1213 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1214 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1215 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1216 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1217 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1218 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1219 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1220 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1221 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1222 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1223 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1224 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1225 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1226 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1227 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1228 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1229 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1230 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1231 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1232 acl: acl.allow enabled, 1 entries for user betty
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1233 acl: acl.deny enabled, 0 entries for user betty
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1234 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1235 acl: allowing changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1236 acl: branch access granted: "f9cafe1212c8" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1237 acl: allowing changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1238 acl: branch access granted: "911600dab2ae" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1239 acl: user betty not allowed on quux/file.py
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1240 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1241 transaction abort!
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1242 rollback completed
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1243 abort: acl: access denied for changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1244 no rollback information available
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1245 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1246
3426
bb00a5a92c30 Add a test for the acl extension
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
1247
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1248 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
1249
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1250 $ echo '[hooks]' >> acl.config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1251 $ echo 'changegroup.acl = false' >> acl.config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1252 $ do_push barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1253 Pushing as user barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1254 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1255 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1256 pretxnchangegroup.acl = python:hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1257 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1258 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1259 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1260 foo/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1261 [acl.deny]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1262 foo/bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1263 foo/Bar/** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1264 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1265 ** = barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1266 **/*.txt = wilma
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1267 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1268 config = ../acl.config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1269 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1270 acl.config = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1271 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1272 foo/** = betty
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1273 [hooks]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1274 changegroup.acl = false
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1275 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1276 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1277 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1278 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1279 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1280 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1281 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1282 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1283 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1284 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1285 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1286 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1287 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1288 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1289 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1290 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1291 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1292 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1293 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1294 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1295 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1296 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1297 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1298 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1299 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1300 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1301 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1302 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1303 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1304 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1305 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1306 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1307 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1308 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1309 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1310 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1311 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1312 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1313 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1314 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1315 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1316 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1317 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1318 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1319 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1320 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1321 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1322 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1323 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1324 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1325 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1326 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1327 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1328 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1329 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1330 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1331 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1332 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1333 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1334 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1335 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1336 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1337 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1338 acl: acl.allow enabled, 1 entries for user barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1339 acl: acl.deny enabled, 0 entries for user barney
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1340 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1341 acl: allowing changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1342 acl: branch access granted: "f9cafe1212c8" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1343 acl: allowing changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1344 acl: branch access granted: "911600dab2ae" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1345 acl: allowing changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1346 updating the branch cache
13364
ddddb76f2da3 bookmarks: merge low-level push/pull support into core
Matt Mackall <mpm@selenic.com>
parents: 13116
diff changeset
1347 checking for updated bookmarks
13446
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
1348 repository tip rolled back to revision 0 (undo push)
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
1349 working directory now based on revision 0
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1350 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1351
11043
08681cb66231 acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents: 10119
diff changeset
1352
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1353 asterisk
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1354
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1355 $ init_config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1356
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1357 asterisk test
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1358
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1359 $ echo '[acl.allow]' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1360 $ echo "** = fred" >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1361
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1362 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
1363
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1364 $ do_push fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1365 Pushing as user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1366 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1367 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1368 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1369 [extensions]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1370 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1371 ** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1372 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1373 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1374 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1375 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1376 invalidating branch cache (tip differs)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1377 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1378 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1379 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1380 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1381 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1382 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1383 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1384 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1385 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1386 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1387 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1388 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1389 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1390 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1391 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1392 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1393 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1394 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1395 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1396 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1397 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1398 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1399 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1400 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1401 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1402 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1403 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1404 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1405 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1406 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1407 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1408 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1409 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1410 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1411 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1412 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1413 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1414 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1415 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1416 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1417 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1418 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1419 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1420 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1421 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1422 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1423 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1424 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1425 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1426 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1427 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1428 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1429 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1430 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1431 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1432 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1433 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1434 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1435 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1436 acl: acl.allow enabled, 1 entries for user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1437 acl: acl.deny not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1438 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1439 acl: allowing changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1440 acl: branch access granted: "f9cafe1212c8" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1441 acl: allowing changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1442 acl: branch access granted: "911600dab2ae" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1443 acl: allowing changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1444 updating the branch cache
13364
ddddb76f2da3 bookmarks: merge low-level push/pull support into core
Matt Mackall <mpm@selenic.com>
parents: 13116
diff changeset
1445 checking for updated bookmarks
13446
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
1446 repository tip rolled back to revision 0 (undo push)
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
1447 working directory now based on revision 0
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1448 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1449
11043
08681cb66231 acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents: 10119
diff changeset
1450
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1451 $ echo '[acl.deny]' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1452 $ echo "foo/Bar/** = *" >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1453
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1454 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
1455
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1456 $ do_push fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1457 Pushing as user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1458 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1459 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1460 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1461 [extensions]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1462 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1463 ** = fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1464 [acl.deny]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1465 foo/Bar/** = *
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1466 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1467 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1468 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1469 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1470 invalidating branch cache (tip differs)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1471 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1472 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1473 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1474 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1475 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1476 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1477 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1478 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1479 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1480 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1481 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1482 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1483 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1484 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1485 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1486 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1487 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1488 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1489 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1490 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1491 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1492 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1493 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1494 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1495 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1496 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1497 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1498 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1499 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1500 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1501 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1502 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1503 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1504 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1505 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1506 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1507 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1508 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1509 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1510 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1511 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1512 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1513 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1514 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1515 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1516 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1517 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1518 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1519 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1520 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1521 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1522 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1523 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1524 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1525 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1526 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1527 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1528 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1529 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1530 acl: acl.allow enabled, 1 entries for user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1531 acl: acl.deny enabled, 1 entries for user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1532 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1533 acl: allowing changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1534 acl: branch access granted: "f9cafe1212c8" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1535 acl: user fred denied on foo/Bar/file.txt
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1536 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1537 transaction abort!
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1538 rollback completed
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1539 abort: acl: access denied for changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1540 no rollback information available
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1541 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1542
11043
08681cb66231 acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents: 10119
diff changeset
1543
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1544 Groups
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1545
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1546 $ init_config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1547
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1548 OS-level groups
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1549
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1550 $ echo '[acl.allow]' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1551 $ echo "** = @group1" >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1552
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1553 @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
1554
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1555 $ do_push fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1556 Pushing as user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1557 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1558 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1559 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1560 [extensions]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1561 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1562 ** = @group1
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1563 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1564 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1565 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1566 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1567 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1568 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1569 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1570 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1571 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1572 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1573 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1574 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1575 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1576 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1577 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1578 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1579 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1580 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1581 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1582 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1583 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1584 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1585 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1586 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1587 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1588 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1589 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1590 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1591 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1592 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1593 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1594 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1595 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1596 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1597 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1598 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1599 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1600 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1601 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1602 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1603 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1604 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1605 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1606 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1607 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1608 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1609 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1610 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1611 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1612 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1613 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1614 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1615 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1616 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1617 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1618 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1619 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1620 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1621 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1622 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1623 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1624 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1625 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1626 acl: "group1" not defined in [acl.groups]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1627 acl: acl.allow enabled, 1 entries for user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1628 acl: acl.deny not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1629 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1630 acl: allowing changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1631 acl: branch access granted: "f9cafe1212c8" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1632 acl: allowing changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1633 acl: branch access granted: "911600dab2ae" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1634 acl: allowing changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1635 updating the branch cache
13364
ddddb76f2da3 bookmarks: merge low-level push/pull support into core
Matt Mackall <mpm@selenic.com>
parents: 13116
diff changeset
1636 checking for updated bookmarks
13446
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
1637 repository tip rolled back to revision 0 (undo push)
1e497df514e2 rollback: clarifies the message about the reverted state (issue2628)
Gilles Moris <gilles.moris@free.fr>
parents: 13364
diff changeset
1638 working directory now based on revision 0
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1639 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1640
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1641
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1642 $ echo '[acl.deny]' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1643 $ echo "foo/Bar/** = @group1" >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1644
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1645 @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
1646
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1647 $ do_push fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1648 Pushing as user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1649 hgrc = """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1650 [acl]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1651 sources = push
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1652 [extensions]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1653 [acl.allow]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1654 ** = @group1
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1655 [acl.deny]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1656 foo/Bar/** = @group1
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1657 """
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1658 pushing to ../b
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1659 searching for changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1660 common changesets up to 6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1661 invalidating branch cache (tip differs)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1662 3 changesets found
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1663 list of changesets:
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1664 ef1ea85a6374b77d6da9dcda9541f498f2d17df7
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1665 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1666 911600dab2ae7a9baff75958b84fe606851ce955
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1667 adding changesets
13116
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1668 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1669 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1670 bundling: 0 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1671 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1672 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1673 bundling: 1 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1674 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1675 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1676 bundling: 2 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1677 bundling: 3 changesets
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1678 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1679 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1680 bundling: 0/3 manifests (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1681 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1682 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1683 bundling: 1/3 manifests (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1684 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1685 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1686 bundling: 2/3 manifests (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1687 bundling: 3/3 manifests (100.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1688 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1689 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1690 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1691 bundling: foo/Bar/file.txt 0/3 files (0.00%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1692 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1693 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1694 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1695 bundling: foo/file.txt 1/3 files (33.33%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1696 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1697 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1698 bundling: quux/file.py 2/3 files (66.67%)
c36dad4f6e54 bundle progress: offer best-guess deterministic progress information
Augie Fackler <durin42@gmail.com>
parents: 12847
diff changeset
1699 bundling: quux/file.py 2/3 files (66.67%)
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1700 changesets: 1 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1701 add changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1702 changesets: 2 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1703 add changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1704 changesets: 3 chunks
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1705 add changeset 911600dab2ae
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1706 adding manifests
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1707 manifests: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1708 manifests: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1709 manifests: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1710 adding file changes
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1711 adding foo/Bar/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1712 files: 1/3 chunks (33.33%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1713 adding foo/file.txt revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1714 files: 2/3 chunks (66.67%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1715 adding quux/file.py revisions
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1716 files: 3/3 chunks (100.00%)
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1717 added 3 changesets with 3 changes to 3 files
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1718 calling hook pretxnchangegroup.acl: hgext.acl.hook
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1719 acl: acl.allow.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1720 acl: acl.deny.branches not enabled
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1721 acl: "group1" not defined in [acl.groups]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1722 acl: acl.allow enabled, 1 entries for user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1723 acl: "group1" not defined in [acl.groups]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1724 acl: acl.deny enabled, 1 entries for user fred
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1725 acl: branch access granted: "ef1ea85a6374" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1726 acl: allowing changeset ef1ea85a6374
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1727 acl: branch access granted: "f9cafe1212c8" on branch "default"
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1728 acl: user fred denied on foo/Bar/file.txt
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1729 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1730 transaction abort!
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1731 rollback completed
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1732 abort: acl: access denied for changeset f9cafe1212c8
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1733 no rollback information available
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1734 0:6675d58eff77
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1735
11043
08681cb66231 acl: add tests for asterisk and for OS-level groups
Elifarley Callado Coelho Cruz <elifarley@gmail.com>
parents: 10119
diff changeset
1736
11849
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1737 Invalid group
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1738
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1739 Disable the fakegroups trick to get real failures
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1740
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1741 $ grep -v fakegroups $config > config.tmp
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1742 $ mv config.tmp $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1743 $ echo '[acl.allow]' >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1744 $ echo "** = @unlikelytoexist" >> $config
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1745 $ do_push fred 2>&1 | grep unlikelytoexist
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1746 ** = @unlikelytoexist
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1747 acl: "unlikelytoexist" not defined in [acl.groups]
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1748 error: pretxnchangegroup.acl hook failed: group 'unlikelytoexist' is undefined
95a931616ba5 tests: unify test-acl
Martin Geisler <mg@lazybytes.net>
parents: 11461
diff changeset
1749 abort: group 'unlikelytoexist' is undefined