# HG changeset patch # User Vladimir Zakharov # Date 1371726439 -14400 # Node ID 1c9b1d0e0ba34e28eb1c6240501e8b930560a48c # Parent f67f9d28b0accdce0f6d19f99a88be6fac6a6fc1 layouts: fix failure for nonexistent SVN paths Since b2d89ba `hg clone` fails for incorrect SVN paths with "NameError: global name 'svnwrap' is not defined" diff --git a/hgsubversion/layouts/detect.py b/hgsubversion/layouts/detect.py --- 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.