# HG changeset patch # User Augie Fackler # Date 1384652677 18000 # Node ID 443e563f0943c56f2f97a96b5afd0b8c6dab50d7 # Parent c6888ec28e9e2260666b11230c4184b11932ae0d Deduplicate markers. Depends on __hash__ and __eq__ on obsolete.marker diff -r c6888ec28e9e -r 443e563f0943 hgfastobs.py --- a/hgfastobs.py Sat Nov 16 20:43:44 2013 -0500 +++ b/hgfastobs.py Sat Nov 16 20:44:37 2013 -0500 @@ -105,6 +105,7 @@ transmit.extend(obsolete.precursormarkers(urepo[node])) for node in boxedges: transmit.extend(obsolete.successormarkers(urepo[node])) + transmit = list(set(transmit)) xmit, total = len(transmit), len(repo.obsstore._all) repo.ui.status( 'boxpush: about to transmit %d obsolete markers (%d markers total)\n'