Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
( )
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/localrepo.py (4 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
0724bab2f9bd | b7b466e37c7d | Pierre-Yves David | Nov 9 2019, 7:23 AM |
Status | Author | Revision | |
---|---|---|---|
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute |
def lookupbranch(self, key): | def lookupbranch(self, key): | ||||
if self.branchmap().hasbranch(key): | if self.branchmap().hasbranch(key): | ||||
return key | return key | ||||
return scmutil.revsymbol(self, key).branch() | return scmutil.revsymbol(self, key).branch() | ||||
def known(self, nodes): | def known(self, nodes): | ||||
cl = self.changelog | cl = self.changelog | ||||
nm = cl.nodemap | get_rev = cl.index.get_rev | ||||
filtered = cl.filteredrevs | filtered = cl.filteredrevs | ||||
result = [] | result = [] | ||||
for n in nodes: | for n in nodes: | ||||
r = nm.get(n) | r = get_rev(n) | ||||
resp = not (r is None or r in filtered) | resp = not (r is None or r in filtered) | ||||
result.append(resp) | result.append(resp) | ||||
return result | return result | ||||
def local(self): | def local(self): | ||||
return self | return self | ||||
def publishing(self): | def publishing(self): |