Mercurial > hg-stable
comparison tests/test-revset-outgoing.t @ 30879:4431add9aef9 stable
ui: replace obsolete default-push with default:pushurl (issue5485)
Default-push has been deprecated in favour of default:pushurl. But "hg clone" still
inserts this in every hgrc file it creates. This patch updates the message by replacing
default-push with default:pushurl and also makes the necessary changes to test files.
author | Rishabh Madan <rishabhmadan96@gmail.com> |
---|---|
date | Sat, 25 Feb 2017 16:57:21 +0530 |
parents | 3d2ea1403c62 |
children | 4441705b7111 |
comparison
equal
deleted
inserted
replaced
30878:18fb3cf572b4 | 30879:4431add9aef9 |
---|---|
41 default = $TESTTMP/a#stable (glob) | 41 default = $TESTTMP/a#stable (glob) |
42 | 42 |
43 # path aliases to other clones of this repo in URLs or filesystem paths | 43 # path aliases to other clones of this repo in URLs or filesystem paths |
44 # (see 'hg help config.paths' for more info) | 44 # (see 'hg help config.paths' for more info) |
45 # | 45 # |
46 # default-push = ssh://jdoe@example.net/hg/jdoes-fork | 46 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork |
47 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork | 47 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork |
48 # my-clone = /home/jdoe/jdoes-clone | 48 # my-clone = /home/jdoe/jdoes-clone |
49 | 49 |
50 [ui] | 50 [ui] |
51 # name and email (local to this repository, optional), e.g. | 51 # name and email (local to this repository, optional), e.g. |
52 # username = Jane Doe <jdoe@example.com> | 52 # username = Jane Doe <jdoe@example.com> |
53 | 53 |
93 default = $TESTTMP/a#stable (glob) | 93 default = $TESTTMP/a#stable (glob) |
94 | 94 |
95 # path aliases to other clones of this repo in URLs or filesystem paths | 95 # path aliases to other clones of this repo in URLs or filesystem paths |
96 # (see 'hg help config.paths' for more info) | 96 # (see 'hg help config.paths' for more info) |
97 # | 97 # |
98 # default-push = ssh://jdoe@example.net/hg/jdoes-fork | 98 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork |
99 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork | 99 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork |
100 # my-clone = /home/jdoe/jdoes-clone | 100 # my-clone = /home/jdoe/jdoes-clone |
101 | 101 |
102 [ui] | 102 [ui] |
103 # name and email (local to this repository, optional), e.g. | 103 # name and email (local to this repository, optional), e.g. |
104 # username = Jane Doe <jdoe@example.com> | 104 # username = Jane Doe <jdoe@example.com> |
105 green = ../a#default | 105 green = ../a#default |