Mercurial > hgsubversion
changeset 1022:1c9b1d0e0ba3
layouts: fix failure for nonexistent SVN paths
Since b2d89ba `hg clone` fails for incorrect SVN paths with "NameError: global name 'svnwrap' is not defined"
author | Vladimir Zakharov <zakharov.vv@gmail.com> |
---|---|
date | Thu, 20 Jun 2013 15:07:19 +0400 |
parents | f67f9d28b0ac |
children | 7a262ecae4f3 |
files | hgsubversion/layouts/detect.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/layouts/detect.py +++ b/hgsubversion/layouts/detect.py @@ -10,7 +10,7 @@ import os.path from mercurial import util as hgutil -import hgsubversion.svnwrap +from hgsubversion import svnwrap def layout_from_subversion(svn, revision=None, ui=None): """ Guess what layout to use based on directories under the svn root.