Mercurial > public > mercurial-scm > hg
comparison mercurial/repository.py @ 37351:fdd22bf6398f
localrepo: drop "remote" argument from lookupbranch() (API)
According to `hg grep --all lookupbranch`, the "remote" argument has
never been used ever since it was introduced in ca739acf1a98
(commands: add more robust support for 'hg log -b' (issue2078),
2010-04-12).
Differential Revision: https://phab.mercurial-scm.org/D3079
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 04 Apr 2018 14:31:09 -0700 |
parents | 39f7d4ee8bcd |
children | 4335a75f0bd0 |
comparison
equal
deleted
inserted
replaced
37350:e32dfff71529 | 37351:fdd22bf6398f |
---|---|
444 """Return the tip node for a given branch.""" | 444 """Return the tip node for a given branch.""" |
445 | 445 |
446 def lookup(key): | 446 def lookup(key): |
447 """Resolve the node for a revision.""" | 447 """Resolve the node for a revision.""" |
448 | 448 |
449 def lookupbranch(key, remote=None): | 449 def lookupbranch(key): |
450 """Look up the branch name of the given revision or branch name.""" | 450 """Look up the branch name of the given revision or branch name.""" |
451 | 451 |
452 def known(nodes): | 452 def known(nodes): |
453 """Determine whether a series of nodes is known. | 453 """Determine whether a series of nodes is known. |
454 | 454 |