Mercurial > evolve
comparison tests/test-obsolete-push.t @ 4287:b7b6a4524ef7
safeguard: don't reimplement auto-publish if it's in core (will be in 4.9)
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 01 Dec 2018 16:08:42 +0800 |
parents | 2d9902f0ff17 |
children | a2fdbece7ce1 a1dad44fe3da |
comparison
equal
deleted
inserted
replaced
4286:f9a9d2fe4af5 | 4287:b7b6a4524ef7 |
---|---|
71 > auto-publish = abort | 71 > auto-publish = abort |
72 > eof | 72 > eof |
73 $ hg push -r . | 73 $ hg push -r . |
74 pushing to $TESTTMP/source | 74 pushing to $TESTTMP/source |
75 abort: push would publish 1 changesets | 75 abort: push would publish 1 changesets |
76 (behavior controlled by 'experimental.auto-publish' config) | 76 (* 'experimental.auto-publish' config) (glob) |
77 [255] | 77 [255] |
78 $ hg push | 78 $ hg push |
79 pushing to $TESTTMP/source | 79 pushing to $TESTTMP/source |
80 abort: push would publish 1 changesets | 80 abort: push would publish 1 changesets |
81 (behavior controlled by 'experimental.auto-publish' config) | 81 (* 'experimental.auto-publish' config) (glob) |
82 [255] | 82 [255] |
83 | 83 |
84 warning behavior | 84 warning behavior |
85 | 85 |
86 $ echo 'auto-publish = warn' >> .hg/hgrc | 86 $ echo 'auto-publish = warn' >> .hg/hgrc |