comparison hg_delta_editor.py @ 156:56dae5beae65

hg_delta_editor: Produce some output when creating a tag.
author Augie Fackler <durin42@gmail.com>
date Wed, 24 Dec 2008 10:52:31 -0600
parents ba801f44d240
children 2a4b7a86af93
comparison
equal deleted inserted replaced
155:ba801f44d240 156:56dae5beae65
332 tags_to_delete.add(t_name) 332 tags_to_delete.add(t_name)
333 for t in tags_to_delete: 333 for t in tags_to_delete:
334 del self.tags[t] 334 del self.tags[t]
335 for br in self.branches_to_delete: 335 for br in self.branches_to_delete:
336 del self.branches[br] 336 del self.branches[br]
337 for t, info in added_tags.items():
338 self.ui.status('Tagged %s@%s as %s\n' %
339 (info[0] or 'trunk', info[1], t))
337 self.tags.update(added_tags) 340 self.tags.update(added_tags)
338 self.branches.update(added_branches) 341 self.branches.update(added_branches)
339 self._save_metadata() 342 self._save_metadata()
340 343
341 def commit_current_delta(self): 344 def commit_current_delta(self):