Patch subject is complete summary.
# HG changeset patch
# User Emmanuel Rosa <goaway1...@gmail.com>
# Date 1256499335 14400
# Branch stable
# Node ID b417683c399699b27349fa6fd5003267fae0a1a0
# Parent 03509194b47025545d0d20304a96794a4ea571d1
history: remove duplicate file overwrite confirmation
diff --git a/tortoisehg/hgtk/history.py b/tortoisehg/hgtk/history.py
--- a/tortoisehg/hgtk/history.py
+++ b/tortoisehg/hgtk/history.py
@@ -1741,14 +1741,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], ())
@@ -1770,14 +1762,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()
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop