changeset 4830:4c5377ab147a stable

stack: remove unnecessary copying of rdependencies rdependencies is not modified in any way in this method, so no need to copy it.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 06 Sep 2019 13:23:25 +0700
parents 6b82b4f72347
children 0852dcba82f6
files hgext3rd/topic/stack.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/stack.py	Fri Sep 06 12:53:46 2019 +0700
+++ b/hgext3rd/topic/stack.py	Fri Sep 06 13:23:25 2019 +0700
@@ -155,7 +155,6 @@
                 dependencies[k] = [i.copy() for i in v]
             else:
                 dependencies[k] = v.copy()
-        rdependencies = rdependencies.copy()
         # Step 2: Build the ordering
         # Remove the revisions with no dependency(A) and add them to the ordering.
         # Removing these revisions leads to new revisions with no dependency (the