comparison mercurial/subrepo.py @ 43787:be8552f25cab

cleanup: fix docstring formatting This is just removing the b'' prefix (except demandimportpy2), and making sure it is triple quoted. I skipped the mapping.py module in zope because that's 3rd party code. Differential Revision: https://phab.mercurial-scm.org/D7539
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 01 Dec 2019 18:46:10 -0500
parents aeed2f106213
children aea70ca7dd85
comparison
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