Patchwork [v2] Change the default:push to default:pushurl

login
register
mail settings
Submitter rishi shah
Date Feb. 28, 2017, 2:45 p.m.
Message ID <e7c4a1d4462a6384d465.1488293121@wifi.local>
Download mbox | patch
Permalink /patch/18839/
State Not Applicable
Headers show

Comments

rishi shah - Feb. 28, 2017, 2:45 p.m.
# HG changeset patch
# User rishi shah <rishiloyola98245@gmail.com>
# Date 1488292877 -19800
#      Tue Feb 28 20:11:17 2017 +0530
# Node ID e7c4a1d4462a6384d4651b85a8268c17d47f2d93
# Parent  89dfe9ddd03a25d795201c1a6a975833b8281b3c
Change the default:push to default:pushurl
Yuya Nishihara - Feb. 28, 2017, 3:14 p.m.
On Tue, 28 Feb 2017 20:15:21 +0530, rishi shah wrote:
> # HG changeset patch
> # User rishi shah <rishiloyola98245@gmail.com>
> # Date 1488292877 -19800
> #      Tue Feb 28 20:11:17 2017 +0530
> # Node ID e7c4a1d4462a6384d4651b85a8268c17d47f2d93
> # Parent  89dfe9ddd03a25d795201c1a6a975833b8281b3c
> Change the default:push to default:pushurl

Thanks, but it's just fixed by 4431add9aef9.

https://www.mercurial-scm.org/repo/hg/rev/4431add9aef9

Please see also the wiki for our coding/patch style.

https://www.mercurial-scm.org/wiki/ContributingChanges#Example_patch

Patch

diff -r 89dfe9ddd03a -r e7c4a1d4462a mercurial/ui.py
--- a/mercurial/ui.py	Tue Feb 28 19:27:34 2017 +0530
+++ b/mercurial/ui.py	Tue Feb 28 20:11:17 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:pushurl = 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:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
 # my-fork      = ssh://jdoe@example.net/hg/jdoes-fork
 # my-clone     = /home/jdoe/jdoes-clone
 
diff -r 89dfe9ddd03a -r e7c4a1d4462a tests/test-hgrc.t
--- a/tests/test-hgrc.t	Tue Feb 28 19:27:34 2017 +0530
+++ b/tests/test-hgrc.t	Tue Feb 28 20:11:17 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:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
   # my-fork      = ssh://jdoe@example.net/hg/jdoes-fork
   # my-clone     = /home/jdoe/jdoes-clone
   
diff -r 89dfe9ddd03a -r e7c4a1d4462a tests/test-pull-http.t
--- a/tests/test-pull-http.t	Tue Feb 28 19:27:34 2017 +0530
+++ b/tests/test-pull-http.t	Tue Feb 28 20:11:17 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:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
   # my-fork      = ssh://jdoe@example.net/hg/jdoes-fork
   # my-clone     = /home/jdoe/jdoes-clone
   
diff -r 89dfe9ddd03a -r e7c4a1d4462a tests/test-revset-outgoing.t
--- a/tests/test-revset-outgoing.t	Tue Feb 28 19:27:34 2017 +0530
+++ b/tests/test-revset-outgoing.t	Tue Feb 28 20:11:17 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:pushurl = 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:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
   # my-fork      = ssh://jdoe@example.net/hg/jdoes-fork
   # my-clone     = /home/jdoe/jdoes-clone
   
diff -r 89dfe9ddd03a -r e7c4a1d4462a tests/test-subrepo-deep-nested-change.t
--- a/tests/test-subrepo-deep-nested-change.t	Tue Feb 28 19:27:34 2017 +0530
+++ b/tests/test-subrepo-deep-nested-change.t	Tue Feb 28 20:11:17 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:pushurl = 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:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
   # my-fork      = ssh://jdoe@example.net/hg/jdoes-fork
   # my-clone     = /home/jdoe/jdoes-clone
   
diff -r 89dfe9ddd03a -r e7c4a1d4462a tests/test-url-rev.t
--- a/tests/test-url-rev.t	Tue Feb 28 19:27:34 2017 +0530
+++ b/tests/test-url-rev.t	Tue Feb 28 20:11:17 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:pushurl = ssh://jdoe@example.net/hg/jdoes-fork
   # my-fork      = ssh://jdoe@example.net/hg/jdoes-fork
   # my-clone     = /home/jdoe/jdoes-clone