mercurial/hg.py
changeset 2798 8cd3e19bf4a5
parent 2768 b1b1aa6f275c
child 2799 b550cd82f92a
--- a/mercurial/hg.py
+++ b/mercurial/hg.py
@@ -49,12 +49,13 @@ def islocal(repo):
     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.