changeset 439:d8f84daf744d

cmdutil: remove unused function issvnurl()
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Tue, 16 Jun 2009 09:26:20 +0200
parents e8f13bd20467
children 80909328aef1
files hgsubversion/cmdutil.py
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/cmdutil.py
+++ b/hgsubversion/cmdutil.py
@@ -57,9 +57,3 @@ def islocalrepo(url):
             return True
         path = path.rsplit('/', 1)[0]
     return False
-
-def issvnurl(url):
-    for scheme in ('svn', 'http', 'https', 'svn+ssh'):
-        if url.startswith(scheme + '://'):
-            return True
-    return islocalrepo(url)