changeset 37677 | 41ac707322ba |
parent 37531 | 6639ac97ec3b |
child 37678 | 5f8f013e7d52 |
--- a/mercurial/scmutil.py Fri Apr 13 09:19:38 2018 -0700 +++ b/mercurial/scmutil.py Fri Apr 13 09:48:22 2018 -0700 @@ -444,6 +444,11 @@ return node def isrevsymbol(repo, symbol): + """Checks if a symbol exists in the repo. + + See revsymbol() for details. Raises error.LookupError if the symbol is an + ambiguous nodeid prefix. + """ try: revsymbol(repo, symbol) return True