# HG changeset patch # User Matt Mackall # Date 1154628477 18000 # Node ID 8cd3e19bf4a5024a7470c32329224d42c1368aae # Parent 871ca5b9d3485a42f8ebc7336fcc3b283c341ad5 Add a doc string diff -r 871ca5b9d348 -r 8cd3e19bf4a5 mercurial/hg.py --- a/mercurial/hg.py Wed Aug 02 09:29:17 2006 +0200 +++ b/mercurial/hg.py Thu Aug 03 13:07:57 2006 -0500 @@ -49,12 +49,13 @@ return repo.local() def repository(ui, path=None, create=False): + """return a repository object for the specified path""" return _lookup(path).instance(ui, path, create) def defaultdest(source): '''return default destination of clone if none is given''' return os.path.basename(os.path.normpath(source)) - + def clone(ui, source, dest=None, pull=False, rev=None, update=True, stream=False): """Make a copy of an existing repository.