changeset 6838:514babbbe282

topic: don't recreate stack, we already have it from before This looks like an issue with past merging of 2 separate functions into 1.
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 25 Aug 2024 17:22:40 +0400
parents dee7d1e2b559
children 12a031f3587f
files hgext3rd/topic/stack.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/stack.py	Sun Aug 25 17:18:56 2024 +0400
+++ b/hgext3rd/topic/stack.py	Sun Aug 25 17:22:40 2024 +0400
@@ -286,7 +286,6 @@
     if not st:
         fm.plain(_(b"(stack is empty)\n"))
 
-    st = stack(repo, branch=branch, topic=topic)
     for idx, r in enumerate(st, 0):
         ctx = repo[r]
         # special case for t0, b0 as it's hard to plugin into rest of the logic