# HG changeset patch # User Siddharth Agarwal # Date 1391466980 28800 # Node ID 7d269e7620c48eee93871d33e673b7a8acb503cc # Parent b433b43364e4059797637a5cf298f24e7209f95c hg: note that islocal only accepts paths pointing to repos hg.islocal doesn't work for paths pointing to non-repos, such as patch files. diff -r b433b43364e4 -r 7d269e7620c4 mercurial/hg.py --- a/mercurial/hg.py Mon Feb 03 14:53:44 2014 -0800 +++ b/mercurial/hg.py Mon Feb 03 14:36:20 2014 -0800 @@ -82,7 +82,7 @@ return thing def islocal(repo): - '''return true if repo or path is local''' + '''return true if repo (or path pointing to repo) is local''' if isinstance(repo, str): try: return _peerlookup(repo).islocal(repo)