Mercurial > hg
comparison tests/test-acl.out @ 8564:6b9ec23b09fc
named branches: improve pre-push logic (issue736)
Each named branch is considered separately, and the push is allowed if
no new branch heads are created for any named branch to be pushed.
Due to some tests's use of --debug, their output will change after this
addition. This has been fixed as well.
Co-contributor: Henrik Stuart <henrik.stuart@edlund.dk>
author | Sune Foldager <cryo@cyanite.org> |
---|---|
date | Sat, 23 May 2009 17:04:31 +0200 |
parents | 912bfef12ba6 |
children | a3d73b3e1f8a |
comparison
equal
deleted
inserted
replaced
8563:f8ff65a83169 | 8564:6b9ec23b09fc |
---|---|
40 pretxnchangegroup.acl = python:hgext.acl.hook | 40 pretxnchangegroup.acl = python:hgext.acl.hook |
41 """ | 41 """ |
42 pushing to ../b | 42 pushing to ../b |
43 searching for changes | 43 searching for changes |
44 common changesets up to 6675d58eff77 | 44 common changesets up to 6675d58eff77 |
45 invalidating branch cache (tip differs) | |
45 3 changesets found | 46 3 changesets found |
46 list of changesets: | 47 list of changesets: |
47 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | 48 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
48 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | 49 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
49 911600dab2ae7a9baff75958b84fe606851ce955 | 50 911600dab2ae7a9baff75958b84fe606851ce955 |
72 sources = push | 73 sources = push |
73 """ | 74 """ |
74 pushing to ../b | 75 pushing to ../b |
75 searching for changes | 76 searching for changes |
76 common changesets up to 6675d58eff77 | 77 common changesets up to 6675d58eff77 |
78 invalidating branch cache (tip differs) | |
77 3 changesets found | 79 3 changesets found |
78 list of changesets: | 80 list of changesets: |
79 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | 81 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
80 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | 82 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
81 911600dab2ae7a9baff75958b84fe606851ce955 | 83 911600dab2ae7a9baff75958b84fe606851ce955 |
109 [acl.allow] | 111 [acl.allow] |
110 """ | 112 """ |
111 pushing to ../b | 113 pushing to ../b |
112 searching for changes | 114 searching for changes |
113 common changesets up to 6675d58eff77 | 115 common changesets up to 6675d58eff77 |
116 invalidating branch cache (tip differs) | |
114 3 changesets found | 117 3 changesets found |
115 list of changesets: | 118 list of changesets: |
116 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | 119 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
117 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | 120 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
118 911600dab2ae7a9baff75958b84fe606851ce955 | 121 911600dab2ae7a9baff75958b84fe606851ce955 |
406 **/*.txt = wilma | 409 **/*.txt = wilma |
407 """ | 410 """ |
408 pushing to ../b | 411 pushing to ../b |
409 searching for changes | 412 searching for changes |
410 common changesets up to 6675d58eff77 | 413 common changesets up to 6675d58eff77 |
414 invalidating branch cache (tip differs) | |
411 3 changesets found | 415 3 changesets found |
412 list of changesets: | 416 list of changesets: |
413 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 | 417 ef1ea85a6374b77d6da9dcda9541f498f2d17df7 |
414 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | 418 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
415 911600dab2ae7a9baff75958b84fe606851ce955 | 419 911600dab2ae7a9baff75958b84fe606851ce955 |