Mercurial > hg-stable
comparison tests/test-hgrc.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 | 75149f84eac7 |
children | fbc4eb8e2433 |
comparison
equal
deleted
inserted
replaced
30878:18fb3cf572b4 | 30879:4431add9aef9 |
---|---|
33 default = $TESTTMP/foo%bar (glob) | 33 default = $TESTTMP/foo%bar (glob) |
34 | 34 |
35 # path aliases to other clones of this repo in URLs or filesystem paths | 35 # path aliases to other clones of this repo in URLs or filesystem paths |
36 # (see 'hg help config.paths' for more info) | 36 # (see 'hg help config.paths' for more info) |
37 # | 37 # |
38 # default-push = ssh://jdoe@example.net/hg/jdoes-fork | 38 # default:pushurl = ssh://jdoe@example.net/hg/jdoes-fork |
39 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork | 39 # my-fork = ssh://jdoe@example.net/hg/jdoes-fork |
40 # my-clone = /home/jdoe/jdoes-clone | 40 # my-clone = /home/jdoe/jdoes-clone |
41 | 41 |
42 [ui] | 42 [ui] |
43 # name and email (local to this repository, optional), e.g. | 43 # name and email (local to this repository, optional), e.g. |
44 # username = Jane Doe <jdoe@example.com> | 44 # username = Jane Doe <jdoe@example.com> |
45 $ hg paths | 45 $ hg paths |