# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1238081855 -3600 # Node ID aacc8cf83e138259d1aca7226a16303783f8ca48 # Parent f98717473abcbac821ed38591c4dc951f731df16 Ensure proper handling of nested tag paths by sorting and reversing them. diff --git a/hg_delta_editor.py b/hg_delta_editor.py --- a/hg_delta_editor.py +++ b/hg_delta_editor.py @@ -105,6 +105,9 @@ class HgChangeReceiver(delta.Editor): self.tag_locations = tag_locations pickle_atomic(self.tag_locations, self.tag_locations_file, self.meta_data_dir) + # ensure nested paths are handled properly + self.tag_locations.sort() + self.tag_locations.reverse() self.clear_current_info() self.author_host = author_host