Commits

Yuya Nishihara committed 22ada7f

rename: actually overwrite existing file if requested

Without -f, the dialog asks "overwirte it?" but actually does nothing.
As we manually check existing file, this adds -f permanently.

  • Participants
  • Parent commits 1b33d5e
  • Branches stable

Comments (0)

Files changed (1)

tortoisehg/hgqt/rename.py

         else:
             cmdline = ['rename']
         cmdline += ['-R', self.repo.root]
-        cmdline.append('-v')
+        cmdline.append('-vf')
         if self.isCaseFoldingOnWin():
             cmdline.append('-A')
         cmdline.append(src)