Strip white spaces from the both ends of the source path
--
Att.
Diego de Oliveira
System Architect
di...@diegooliveira.com
www.diegooliveira.com
# HG changeset patch
# User Diego Oliveira <di...@diegooliveira.com>
# Date 1258641551 7200
# Node ID 37168299c64afb7e33fb72d44fa4efb7dd830a9e
# Parent fea7deadcdd444b1e569b17b20b0669a1efcbdf1
clone: strip white spaces from the both ends of source path
diff -r fea7deadcdd4 -r 37168299c64a tortoisehg/hgtk/clone.py
--- a/tortoisehg/hgtk/clone.py Wed Nov 18 21:04:29 2009 +0100
+++ b/tortoisehg/hgtk/clone.py Thu Nov 19 12:39:11 2009 -0200
@@ -288,7 +288,7 @@
def clone(self):
# gather input data
- src = self.srcentry.get_text()
+ src = self.srcentry.get_text().strip()
dest = self.destentry.get_text() or os.path.basename(src)
remotecmd = self.remotecmdentry.get_text()
rev = self.reventry.get_text()
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop