path: directly use the push_variant in `hg summary`
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 01 Dec 2022 01:35:17 +0100
changeset 49700 e3b997f57269
parent 49699 54e98a88542b
child 49701 1470a533d28a
path: directly use the push_variant in `hg summary` We don't need any extra processing now.
mercurial/commands.py
--- 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'