Plugins/VcsPlugins/vcsMercurial/HgDiffDialog.py

changeset 553
5af61623ae3c
parent 546
c3e7bf5648be
child 564
b3d966393ba9
equal deleted inserted replaced
551:e1074b63ff08 553:5af61623ae3c
279 if QFileInfo(fname).exists(): 279 if QFileInfo(fname).exists():
280 res = E5MessageBox.yesNo(self, 280 res = E5MessageBox.yesNo(self,
281 self.trUtf8("Save Diff"), 281 self.trUtf8("Save Diff"),
282 self.trUtf8("<p>The patch file <b>{0}</b> already exists." 282 self.trUtf8("<p>The patch file <b>{0}</b> already exists."
283 " Overwrite it?</p>").format(fname), 283 " Overwrite it?</p>").format(fname),
284 type_ = E5MessageBox.Warning) 284 icon = E5MessageBox.Warning)
285 if not res: 285 if not res:
286 return 286 return
287 fname = Utilities.toNativeSeparators(fname) 287 fname = Utilities.toNativeSeparators(fname)
288 288
289 try: 289 try:

eric ide

mercurial