# HG changeset patch # User Anton Shestakov # Date 1567751005 -25200 # Node ID 4c5377ab147ab31d64505840b1f1e2cc7e3ec366 # Parent 6b82b4f72347555702c8e7db450d7a5a4323ff70 stack: remove unnecessary copying of rdependencies rdependencies is not modified in any way in this method, so no need to copy it. diff -r 6b82b4f72347 -r 4c5377ab147a hgext3rd/topic/stack.py --- 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