diff hg_delta_editor.py @ 23:1f8854804795

Add tests for tags and fix a bug in the tag-finding code that was found by the tests.
author Augie Fackler <durin42@gmail.com>
date Wed, 08 Oct 2008 20:37:01 -0500
parents c89f53103502
children a9c15cae50e5
line wrap: on
line diff
--- a/hg_delta_editor.py
+++ b/hg_delta_editor.py
@@ -293,6 +293,7 @@ class HgChangeReceiver(delta.Editor):
             del self.tags[t]
         self.tags.update(added_tags)
         self.branches.update(added_branches)
+        self._save_metadata()
 
     def commit_current_delta(self):
         if hasattr(self, '_exception_info'):