Changeset e221c07a4258…
Parent 056886063a0b…
by
Changes to one file · Browse files at e221c07a4258 Showing diff from parent 056886063a0b Diff from another changeset...
@@ -1813,14 +1813,6 @@ initial=self.repo.root,
filename=filename).run()
if result:
- if os.path.exists(result):
- res = gdialog.Confirm(_('Confirm Overwrite'), [], self,
- _('The file "%s" already exists!\n\n'
- 'Do you want to overwrite it?') % result).run()
- if res != gtk.RESPONSE_YES:
- return
- os.remove(result)
-
# In case new export args are added in the future, merge the
# hg defaults
exportOpts= self.merge_opts(commands.table['^export'][1], ())
@@ -1842,14 +1834,6 @@ initial=self.repo.root,
filename=filename).run()
if result:
- if os.path.exists(result):
- res = gdialog.Confirm(_('Confirm Overwrite'), [], self,
- _('The file "%s" already exists!\n\n'
- 'Do you want to overwrite it?') % result).run()
- if res != gtk.RESPONSE_YES:
- return
- os.remove(result)
-
cmdline = ['hg', 'bundle', '--base', str(parent), result]
dlg = hgcmd.CmdDialog(cmdline)
dlg.show_all()
|
Loading...