[PATCH] Bug 5485 - Default hgrc generated on clone references the obsolete "default-push" path
rishi shah
rishiloyola98245 at gmail.com
Tue Feb 28 14:03:28 UTC 2017
# HG changeset patch
# User rishi shah <rishiloyola98245 at gmail.com>
# Date 1488290254 -19800
# Tue Feb 28 19:27:34 2017 +0530
# Node ID 89dfe9ddd03a25d795201c1a6a975833b8281b3c
# Parent e02646d2c3e326efd1c030de135901cce1384f5e
Bug 5485 - Default hgrc generated on clone references the obsolete "default-push" path
The default push URL was formerly named default-push (still supported as an alias for backwards compatibility), but was changed to default:pushurl a while ago. So this patch is to update the default-push to default:push variable in the default HGRC file.
diff -r e02646d2c3e3 -r 89dfe9ddd03a mercurial/ui.py
--- a/mercurial/ui.py Wed Feb 22 17:54:24 2017 +0530
+++ b/mercurial/ui.py Tue Feb 28 19:27:34 2017 +0530
@@ -61,7 +61,7 @@
# path aliases to other clones of this repo in URLs or filesystem paths
# (see 'hg help config.paths' for more info)
#
-# default-push = ssh://jdoe@example.net/hg/jdoes-fork
+# default:push = ssh://jdoe@example.net/hg/jdoes-fork
# my-fork = ssh://jdoe@example.net/hg/jdoes-fork
# my-clone = /home/jdoe/jdoes-clone
@@ -77,7 +77,7 @@
# (see 'hg help config.paths' for more info)
#
# default = http://example.com/hg/example-repo
-# default-push = ssh://jdoe@example.net/hg/jdoes-fork
+# default:push = ssh://jdoe@example.net/hg/jdoes-fork
# my-fork = ssh://jdoe@example.net/hg/jdoes-fork
# my-clone = /home/jdoe/jdoes-clone
diff -r e02646d2c3e3 -r 89dfe9ddd03a tests/test-hgrc.t
--- a/tests/test-hgrc.t Wed Feb 22 17:54:24 2017 +0530
+++ b/tests/test-hgrc.t Tue Feb 28 19:27:34 2017 +0530
@@ -35,7 +35,7 @@
# path aliases to other clones of this repo in URLs or filesystem paths
# (see 'hg help config.paths' for more info)
#
- # default-push = ssh://jdoe@example.net/hg/jdoes-fork
+ # default:push = ssh://jdoe@example.net/hg/jdoes-fork
# my-fork = ssh://jdoe@example.net/hg/jdoes-fork
# my-clone = /home/jdoe/jdoes-clone
diff -r e02646d2c3e3 -r 89dfe9ddd03a tests/test-pull-http.t
--- a/tests/test-pull-http.t Wed Feb 22 17:54:24 2017 +0530
+++ b/tests/test-pull-http.t Tue Feb 28 19:27:34 2017 +0530
@@ -33,7 +33,7 @@
# path aliases to other clones of this repo in URLs or filesystem paths
# (see 'hg help config.paths' for more info)
#
- # default-push = ssh://jdoe@example.net/hg/jdoes-fork
+ # default:push = ssh://jdoe@example.net/hg/jdoes-fork
# my-fork = ssh://jdoe@example.net/hg/jdoes-fork
# my-clone = /home/jdoe/jdoes-clone
diff -r e02646d2c3e3 -r 89dfe9ddd03a tests/test-revset-outgoing.t
--- a/tests/test-revset-outgoing.t Wed Feb 22 17:54:24 2017 +0530
+++ b/tests/test-revset-outgoing.t Tue Feb 28 19:27:34 2017 +0530
@@ -43,7 +43,7 @@
# path aliases to other clones of this repo in URLs or filesystem paths
# (see 'hg help config.paths' for more info)
#
- # default-push = ssh://jdoe@example.net/hg/jdoes-fork
+ # default:push = ssh://jdoe@example.net/hg/jdoes-fork
# my-fork = ssh://jdoe@example.net/hg/jdoes-fork
# my-clone = /home/jdoe/jdoes-clone
@@ -95,7 +95,7 @@
# path aliases to other clones of this repo in URLs or filesystem paths
# (see 'hg help config.paths' for more info)
#
- # default-push = ssh://jdoe@example.net/hg/jdoes-fork
+ # default:push = ssh://jdoe@example.net/hg/jdoes-fork
# my-fork = ssh://jdoe@example.net/hg/jdoes-fork
# my-clone = /home/jdoe/jdoes-clone
diff -r e02646d2c3e3 -r 89dfe9ddd03a tests/test-subrepo-deep-nested-change.t
--- a/tests/test-subrepo-deep-nested-change.t Wed Feb 22 17:54:24 2017 +0530
+++ b/tests/test-subrepo-deep-nested-change.t Tue Feb 28 19:27:34 2017 +0530
@@ -134,7 +134,7 @@
# path aliases to other clones of this repo in URLs or filesystem paths
# (see 'hg help config.paths' for more info)
#
- # default-push = ssh://jdoe@example.net/hg/jdoes-fork
+ # default:push = ssh://jdoe@example.net/hg/jdoes-fork
# my-fork = ssh://jdoe@example.net/hg/jdoes-fork
# my-clone = /home/jdoe/jdoes-clone
@@ -695,7 +695,7 @@
# path aliases to other clones of this repo in URLs or filesystem paths
# (see 'hg help config.paths' for more info)
#
- # default-push = ssh://jdoe@example.net/hg/jdoes-fork
+ # default:push = ssh://jdoe@example.net/hg/jdoes-fork
# my-fork = ssh://jdoe@example.net/hg/jdoes-fork
# my-clone = /home/jdoe/jdoes-clone
diff -r e02646d2c3e3 -r 89dfe9ddd03a tests/test-url-rev.t
--- a/tests/test-url-rev.t Wed Feb 22 17:54:24 2017 +0530
+++ b/tests/test-url-rev.t Tue Feb 28 19:27:34 2017 +0530
@@ -48,7 +48,7 @@
# path aliases to other clones of this repo in URLs or filesystem paths
# (see 'hg help config.paths' for more info)
#
- # default-push = ssh://jdoe@example.net/hg/jdoes-fork
+ # default:push = ssh://jdoe@example.net/hg/jdoes-fork
# my-fork = ssh://jdoe@example.net/hg/jdoes-fork
# my-clone = /home/jdoe/jdoes-clone
More information about the Mercurial-devel
mailing list