From f14123d6093b506289866e2cdc0a6962568bdc41 Mon Sep 17 00:00:00 2001 From: mhagger Date: Sun, 29 Aug 2010 05:35:30 +0000 Subject: [PATCH] Remove unused method. git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5261 be7e6eca-30d4-0310-a8e5-ac0d63af7087 --- cvs2svn_lib/common.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/cvs2svn_lib/common.py b/cvs2svn_lib/common.py index 328162b4..46ec0789 100644 --- a/cvs2svn_lib/common.py +++ b/cvs2svn_lib/common.py @@ -157,22 +157,6 @@ def verify_svn_filename_legal(filename): ) -def verify_svn_path_legal(path): - """Verify that PATH is a legitimate SVN path. - - If not, raise an IllegalSVNPathError.""" - - if path.startswith('/'): - raise IllegalSVNPathError("Path %r must not start with '/'." % (path,)) - head = path - while head != '': - (head,tail) = path_split(head) - try: - verify_svn_filename_legal(tail) - except IllegalSVNPathError, e: - raise IllegalSVNPathError('Problem with path %r: %s' % (path, e,)) - - def normalize_svn_path(path, allow_empty=False): """Normalize an SVN path (e.g., one supplied by a user). -- 2.11.4.GIT