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