Commits

Steve Borho  committed 70cf403

commit: add commit messages to history unconditionally

This will move recently used messages to the top of the MRU

  • Participants
  • Parent commits cab081f
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgtk/commit.py

                 self.nextbranch = None
                 self.chunks.clear_filechunks()  # force re-read of chunks
                 buf = self.text.get_buffer()
-                if buf.get_modified():
-                    self.update_recent_messages(self.opts['message'])
-                    buf.set_modified(False)
+                self.update_recent_messages(self.opts['message'])
+                buf.set_modified(False)
                 if self.qnew:
                     self.qnew_name.set_text('')
                     hglib.invalidaterepo(self.repo)