changeset 49700:e3b997f57269

path: directly use the push_variant in `hg summary` We don't need any extra processing now.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 01 Dec 2022 01:35:17 +0100
parents 54e98a88542b
children 1470a533d28a
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Dec 01 01:34:58 2022 +0100
+++ b/mercurial/commands.py	Thu Dec 01 01:35:17 2022 +0100
@@ -7286,7 +7286,7 @@
             d = b'default'
         if d is not None:
             path = urlutil.get_unique_push_path(b'summary', repo, ui, d)
-            dest = path.pushloc or path.loc
+            dest = path.loc
             dbranch = path.branch
         else:
             dest = b'default'