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 |
---|---|---|---|---|
d4409cabeb9c | 797112f38419 | Pierre-Yves David | Nov 8 2019, 8:00 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): |