Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

stable commit: notify shell upon completion of commit operation

Icons will now be automatically updated to show that the files are clean.

Changeset 9f52addd5854

Parent aa110c5fdc00

by David Golub

Changes to one file · Browse files at 9f52addd5854 Showing diff from parent aa110c5fdc00 Diff from another changeset...

 
685
686
687
688
689
 
 
690
691
692
693
694
695
696
 
697
698
699
 
743
744
745
746
 
747
748
749
 
786
787
788
 
789
790
791
 
685
686
687
 
 
688
689
690
691
692
693
694
695
 
696
697
698
699
 
743
744
745
 
746
747
748
749
 
786
787
788
789
790
791
792
@@ -685,15 +685,15 @@
  self.repo)   if commandlines is None:   return - files = self.stwidget.getChecked('MAR?!S') - if not (files or brcmd or newbranch): + self.files = self.stwidget.getChecked('MAR?!S') + if not (self.files or brcmd or newbranch):   qtlib.WarningMsgBox(_('No files checked'),   _('No modified files checkmarked for commit'),   parent=self)   self.stwidget.tv.setFocus()   return   if len(repo.parents()) > 1: - files = [] + self.files = []     user = qtlib.getCurrentUsername(self, self.repo, self.opts)   if not user: @@ -743,7 +743,7 @@
  dcmd = []   cmdline = ['commit', '--repository', repo.root, '--verbose',   '--user', user, '--message='+msg] - cmdline += dcmd + brcmd + [repo.wjoin(f) for f in files] + cmdline += dcmd + brcmd + [repo.wjoin(f) for f in self.files]   if len(repo.parents()) == 1:   for fname in self.opts.get('autoinc', '').split(','):   fname = fname.strip() @@ -786,6 +786,7 @@
  self.addMessageToHistory(umsg)   self.setMessage('')   if self.currentAction == 'commit': + shlib.shell_notify(self.files)   self.commitComplete.emit()    class DetailsDialog(QDialog):