changeset 52660 | 1c8bc6110a1a |
parent 52645 | 4cb75772818d |
child 52691 | 279e217d6041 |
--- a/hgext/git/manifest.py Tue Jan 07 17:52:52 2025 -0500 +++ b/hgext/git/manifest.py Sat Jan 04 11:13:15 2025 -0500 @@ -170,6 +170,11 @@ def _iterativediff(t1, t2, subdir): """compares two trees and appends new tree nodes to examine to the stack""" + if t1 == t2: + # If the trees are the same (git) object, then there are no + # differences in this tree or any of its children. + return + if t1 is None: t1 = {} if t2 is None: