Show More
@@ -280,7 +280,7 b' def prepush(repo, remote, force, revs, n' | |||||
280 | remotemap = remote.branchmap() |
|
280 | remotemap = remote.branchmap() | |
281 | newbranches = branches - set(remotemap) |
|
281 | newbranches = branches - set(remotemap) | |
282 | if newbranches and not newbranch: # new branch requires --new-branch |
|
282 | if newbranches and not newbranch: # new branch requires --new-branch | |
283 |
branchnames = ', '.join( |
|
283 | branchnames = ', '.join(sorted(newbranches)) | |
284 | repo.ui.warn(_("abort: push creates " |
|
284 | repo.ui.warn(_("abort: push creates " | |
285 | "new remote branches: %s!\n") |
|
285 | "new remote branches: %s!\n") | |
286 | % branchnames) |
|
286 | % branchnames) |
General Comments 0
You need to be logged in to leave comments.
Login now