Commits

Angel Ezquerra  committed b1cba81

messageentry: make "Paste Filenames" separate filenames with EOL (fixes #3230)

Currently "Paste Filenames" command on the message entry context menu inserts a
list of files separated by commas, which is less arguably less useful than
separating them with EOL (which makes it easy to make file lists). In addition,
using comma as the file separator can conflict with filenames that include
commas.

  • Participants
  • Parent commits d02e8fa

Comments (0)

Files changed (1)

File tortoisehg/hgqt/messageentry.py

 
         def paste():
             files = self.getChecked()
-            self.insert(', '.join(files))
+            self.insert('\n'.join(files))
         def settings():
             from tortoisehg.hgqt.settings import SettingsDialog
             dlg = SettingsDialog(True, focus='tortoisehg.summarylen')