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 |
---|---|---|---|---|
0a611f22907d | c148765cbc87 | 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 |
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, | ||||