Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
( )
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Path | Packages | |||
---|---|---|---|---|
M | mercurial/obsutil.py (2 lines) |
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 |
if not _cmpdiff(source, changectx): | if not _cmpdiff(source, changectx): | ||||
effects |= DIFFCHANGED | effects |= DIFFCHANGED | ||||
return effects | return effects | ||||
def getobsoleted(repo, tr): | def getobsoleted(repo, tr): | ||||
"""return the set of pre-existing revisions obsoleted by a transaction""" | """return the set of pre-existing revisions obsoleted by a transaction""" | ||||
torev = repo.unfiltered().changelog.nodemap.get | torev = repo.unfiltered().changelog.index.get_rev | ||||
phase = repo._phasecache.phase | phase = repo._phasecache.phase | ||||
succsmarkers = repo.obsstore.successors.get | succsmarkers = repo.obsstore.successors.get | ||||
public = phases.public | public = phases.public | ||||
addedmarkers = tr.changes[b'obsmarkers'] | addedmarkers = tr.changes[b'obsmarkers'] | ||||
origrepolen = tr.changes[b'origrepolen'] | origrepolen = tr.changes[b'origrepolen'] | ||||
seenrevs = set() | seenrevs = set() | ||||
obsoleted = set() | obsoleted = set() | ||||
for mark in addedmarkers: | for mark in addedmarkers: |