mercurial/subrepo.py
changeset 43787 be8552f25cab
parent 43651 aeed2f106213
child 43789 aea70ca7dd85
equal deleted inserted replaced
43786:421ea5772039 43787:be8552f25cab
  1526             branch2rev[ref] = revision
  1526             branch2rev[ref] = revision
  1527             rev2branch.setdefault(revision, []).append(ref)
  1527             rev2branch.setdefault(revision, []).append(ref)
  1528         return branch2rev, rev2branch
  1528         return branch2rev, rev2branch
  1529 
  1529 
  1530     def _gittracking(self, branches):
  1530     def _gittracking(self, branches):
  1531         b'return map of remote branch to local tracking branch'
  1531         """return map of remote branch to local tracking branch"""
  1532         # assumes no more than one local tracking branch for each remote
  1532         # assumes no more than one local tracking branch for each remote
  1533         tracking = {}
  1533         tracking = {}
  1534         for b in branches:
  1534         for b in branches:
  1535             if b.startswith(b'refs/remotes/'):
  1535             if b.startswith(b'refs/remotes/'):
  1536                 continue
  1536                 continue