The code is slightly updated in the process for simplicity.
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
( )
The code is slightly updated in the process for simplicity.
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | hgext/rebase.py (7 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
6f625b674de2 | 2a0a72ee0134 | Pierre-Yves David | Nov 8 2019, 8:57 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 |
b"experimental.evolution.allowdivergence=True" | b"experimental.evolution.allowdivergence=True" | ||||
) | ) | ||||
raise error.Abort(msg % (b",".join(divhashes),), hint=h) | raise error.Abort(msg % (b",".join(divhashes),), hint=h) | ||||
def successorrevs(unfi, rev): | def successorrevs(unfi, rev): | ||||
"""yield revision numbers for successors of rev""" | """yield revision numbers for successors of rev""" | ||||
assert unfi.filtername is None | assert unfi.filtername is None | ||||
nodemap = unfi.changelog.nodemap | get_rev = unfi.changelog.index.get_rev | ||||
for s in obsutil.allsuccessors(unfi.obsstore, [unfi[rev].node()]): | for s in obsutil.allsuccessors(unfi.obsstore, [unfi[rev].node()]): | ||||
if s in nodemap: | r = get_rev(s) | ||||
yield nodemap[s] | if r is not None: | ||||
yield r | |||||
def defineparents(repo, rev, destmap, state, skipped, obsskipped): | def defineparents(repo, rev, destmap, state, skipped, obsskipped): | ||||
"""Return new parents and optionally a merge base for rev being rebased | """Return new parents and optionally a merge base for rev being rebased | ||||
The destination specified by "dest" cannot always be used directly because | The destination specified by "dest" cannot always be used directly because | ||||
previously rebase result could affect destination. For example, | previously rebase result could affect destination. For example, | ||||