# HG changeset patch # User Sean Farley # Date 1395678056 18000 # Node ID 14dab195b2b4ef8bb68758ec5ac42bf8534aa66e # Parent 577054dbd9af0a5ce3872b458caf4ca18322d6a5 layouts: update doc string to inform about using the right object diff --git a/hgsubversion/layouts/__init__.py b/hgsubversion/layouts/__init__.py --- a/hgsubversion/layouts/__init__.py +++ b/hgsubversion/layouts/__init__.py @@ -34,7 +34,8 @@ NAME_TO_CLASS = { def layout_from_name(name, meta): """Returns a layout module given the layout name - You should use one of the layout.detect.* functions to get the + You should be able to read the layout name from meta.layout but, if + necessary, you can use one of the meta.layout_from_* functions to get the name to pass to this function. """