Commits

Steve Borho committed f627b56

Backed out changeset 5fe58394b973

  • Participants
  • Parent commits 5fe5839
  • 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]
-        message = hglib.fromutf(self.opts['message'])
-        if message.startswith('-'):
-            message = ' ' + message
-        cmdline += ['--message', message]
+        cmdline += ['--message', hglib.fromutf(self.opts['message'])]
         if self.qnew:
             cmdline += [hglib.fromutf(self.get_qnew_name())]
         if files: