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/discovery.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 <nh> is public on the remote, it won't be affected by obsolete | # * if <nh> is public on the remote, it won't be affected by obsolete | ||||
# marker and a new is created | # marker and a new is created | ||||
# define various utilities and containers | # define various utilities and containers | ||||
repo = pushop.repo | repo = pushop.repo | ||||
unfi = repo.unfiltered() | unfi = repo.unfiltered() | ||||
tonode = unfi.changelog.node | tonode = unfi.changelog.node | ||||
torev = unfi.changelog.nodemap.get | torev = unfi.changelog.index.get_rev | ||||
public = phases.public | public = phases.public | ||||
getphase = unfi._phasecache.phase | getphase = unfi._phasecache.phase | ||||
ispublic = lambda r: getphase(unfi, r) == public | ispublic = lambda r: getphase(unfi, r) == public | ||||
ispushed = lambda n: torev(n) in futurecommon | ispushed = lambda n: torev(n) in futurecommon | ||||
hasoutmarker = functools.partial(pushingmarkerfor, unfi.obsstore, ispushed) | hasoutmarker = functools.partial(pushingmarkerfor, unfi.obsstore, ispushed) | ||||
successorsmarkers = unfi.obsstore.successors | successorsmarkers = unfi.obsstore.successors | ||||
newhs = set() # final set of new heads | newhs = set() # final set of new heads | ||||
discarded = set() # new head of fully replaced branch | discarded = set() # new head of fully replaced branch |