Comments
Patch
@@ -269,7 +269,7 @@
$ hg push $remote
pushing to http://localhost:$HGPORT/
searching for changes
- abort: push creates new remote branches: both, name1!
+ abort: push creates new remote branches:both, name1(closed)!
(use 'hg push --new-branch' to create new remote branches)
[255]
$ hg push $remote --new-branch
@@ -285,7 +285,7 @@
$ hg push $remote
pushing to http://localhost:$HGPORT/
searching for changes
- abort: push creates new remote branches: both, name1!
+ abort: push creates new remote branches:both, name1(closed)!
(use 'hg push --new-branch' to create new remote branches)
[255]
$ hg push $remote --new-branch
@@ -232,14 +232,14 @@
$ hg push ../f
pushing to ../f
searching for changes
- abort: push creates new remote branches: c!
+ abort: push creates new remote branches:c(closed)!
(use 'hg push --new-branch' to create new remote branches)
[255]
$ hg push -r 4 -r 5 ../f
pushing to ../f
searching for changes
- abort: push creates new remote branches: c!
+ abort: push creates new remote branches:c(closed)!
(use 'hg push --new-branch' to create new remote branches)
[255]
@@ -253,14 +253,14 @@
$ hg push ../f
pushing to ../f
searching for changes
- abort: push creates new remote branches: c, d!
+ abort: push creates new remote branches:c, d(closed)!
(use 'hg push --new-branch' to create new remote branches)
[255]
$ hg push -r 4 -r 6 ../f
pushing to ../f
searching for changes
- abort: push creates new remote branches: c, d!
+ abort: push creates new remote branches:c, d(closed)!
(use 'hg push --new-branch' to create new remote branches)
[255]
@@ -353,7 +353,7 @@
$ hg push -r 12 -r 13 ../f
pushing to ../f
searching for changes
- abort: push creates new remote branches: e!
+ abort: push creates new remote branches:e(closed)!
(use 'hg push --new-branch' to create new remote branches)
[255]
@@ -477,7 +477,7 @@
$ hg -R k push -r a j
pushing to j
searching for changes
- abort: push creates new remote branches: b!
+ abort: push creates new remote branches:b(closed)!
(use 'hg push --new-branch' to create new remote branches)
[255]
@@ -347,8 +347,8 @@
# 1. Check for new branches on the remote.
if newbranches and not newbranch: # new branch requires --new-branch
branchnames = ', '.join(sorted(newbranches))
- raise error.Abort(_("push creates new remote branches: %s!")
- % branchnames,
+ raise error.Abort(_("push creates new remote branches:"
+ "%s(closed)!")% branchnames,
hint=_("use 'hg push --new-branch' to create"
" new remote branches"))