gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r748018 - /gump/trunk/python/gump/core/update/svn.py
Date Thu, 26 Feb 2009 05:05:31 GMT
Author: bodewig
Date: Thu Feb 26 05:05:31 2009
New Revision: 748018

URL: http://svn.apache.org/viewvc?rev=748018&view=rev
Log:
'svn info' strips trailing slashes from the checked out URL, don't expect it to be there

Modified:
    gump/trunk/python/gump/core/update/svn.py

Modified: gump/trunk/python/gump/core/update/svn.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/core/update/svn.py?rev=748018&r1=748017&r2=748018&view=diff
==============================================================================
--- gump/trunk/python/gump/core/update/svn.py (original)
+++ gump/trunk/python/gump/core/update/svn.py Thu Feb 26 05:05:31 2009
@@ -127,7 +127,7 @@
         if not match:
             return (False, 'Couldn\'t find URL in svn info output ' + output)
 
-        expectedURL = module.getScm().getRootUrl()
+        expectedURL = module.getScm().getRootUrl().rstrip('/')
         actualURL = match.group(1)
 
         return (expectedURL == actualURL, 'Expected URL \'' + expectedURL + \



Mime
View raw message