Commits

datallah  committed b5c83a9

Add beter workaround for messages that begin with '-' (closes #1712)

  • Participants
  • Parent commits f627b56
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgtk/commit.py

         files += self.opts['include']
         if not files and not self.is_merge():
             cmdline += ['-X', self.repo.root]
-        cmdline += ['--message', hglib.fromutf(self.opts['message'])]
+        cmdline += ['--message=' + hglib.fromutf(self.opts['message'])]
         if self.qnew:
             cmdline += [hglib.fromutf(self.get_qnew_name())]
         if files: