Patch subject is complete summary.

# HG changeset patch
# User Emmanuel Rosa <goaway1...@gmail.com>
# Date 1256499335 14400
# Branch stable
# Node ID 03509194b47025545d0d20304a96794a4ea571d1
# Parent  01e38c184390b44732ed5e934b7366feed666419
changeset: remove duplicate file overwrite confirmation

diff --git a/tortoisehg/hgtk/changeset.py b/tortoisehg/hgtk/changeset.py
--- a/tortoisehg/hgtk/changeset.py
+++ b/tortoisehg/hgtk/changeset.py
@@ -741,14 +741,6 @@
                                                     initial=self.cwd,
                                                     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)
-
             q = Queue.Queue()
             hglib.hgcmd_toq(q, 'cat', '--rev',
                 str(self.currev), '--output', hglib.fromutf(result), self.curfile)
------------------------------------------------------------------------------
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

Reply via email to