Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

commit: move shell notifications to end of post-commit process

Changeset c04621458f44

Parent 5f3e32639044

by Steve Borho

Changes to one file · Browse files at c04621458f44 Showing diff from parent 5f3e32639044 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​commit.py Stacked
 
660
661
662
663
664
665
666
667
668
669
 
678
679
680
 
 
 
 
681
682
683
 
660
661
662
 
 
 
 
663
664
665
 
674
675
676
677
678
679
680
681
682
683
@@ -660,10 +660,6 @@
    # refresh overlay icons and commit dialog   if dialog.return_code() == 0: - shlib.update_thgstatus(self.ui, self.repo.root, wait=True) - shlib.shell_notify([self.cwd] + files) - if self.notify_func: - self.notify_func(self.notify_args)   self.closebranch = False   self.nextbranch = None   buf = self.text.get_buffer() @@ -678,6 +674,10 @@
  elif self.qheader is None:   self.text.set_buffer(gtk.TextBuffer())   self._last_commit_id = self._get_tip_rev(True) + if self.notify_func: + self.notify_func(self.notify_args) + shlib.update_thgstatus(self.ui, self.repo.root, wait=True) + shlib.shell_notify([self.cwd] + files)     def _get_tip_rev(self, refresh=False):   if refresh: