meld r968 - trunk/vc



Author: stevek
Date: Mon Jan  7 21:23:21 2008
New Revision: 968
URL: http://svn.gnome.org/viewvc/meld?rev=968&view=rev

Log:
Handle spaces in mercurial folders. Bug 507860



Modified:
   trunk/vc/mercurial.py

Modified: trunk/vc/mercurial.py
==============================================================================
--- trunk/vc/mercurial.py	(original)
+++ trunk/vc/mercurial.py	Mon Jan  7 21:23:21 2008
@@ -66,7 +66,7 @@
 
         while 1:
             try:
-                entries = os.popen("cd %s && hg status -A ."%directory).read().split("\n")[:-1]
+                entries = os.popen('cd "%s" && hg status -A .'%directory).read().split("\n")[:-1]
                 break
             except OSError, e:
                 if e.errno != errno.EAGAIN:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]