meld r1042 - trunk/vc



Author: stevek
Date: Sun Sep  7 21:24:00 2008
New Revision: 1042
URL: http://svn.gnome.org/viewvc/meld?rev=1042&view=rev

Log:
Bug 550925 â Use best matching vc

Modified:
   trunk/vc/__init__.py

Modified: trunk/vc/__init__.py
==============================================================================
--- trunk/vc/__init__.py	(original)
+++ trunk/vc/__init__.py	Sun Sep  7 21:24:00 2008
@@ -46,5 +46,4 @@
         return _null.Vc(location)
 
     #Pick the Vc with the longest repo root
-    #return max(vcs, key=lambda repo: len(repo.root))
-    return vcs[0]
+    return max(vcs, key=lambda repo: len(repo.root))



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