This yields identical behavior on Python 2 and 3.
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.
( )
This yields identical behavior on Python 2 and 3.
| Automatic diff as part of commit; lint not applicable. |
| Automatic diff as part of commit; unit tests not applicable. |
| Path | Packages | |||
|---|---|---|---|---|
| M | mercurial/debugcommands.py (2 lines) |
| Status | Author | Revision | |
|---|---|---|---|
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Needs Revision | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg | ||
| Closed | indygreg |
| <successors-2B1> <successors-2B2> <successors-2B3> | <successors-2B1> <successors-2B2> <successors-2B3> | ||||
| Here rev2 has two possible (i.e. divergent) successors sets. The first | Here rev2 has two possible (i.e. divergent) successors sets. The first | ||||
| holds one element, whereas the second holds three (i.e. the changeset has | holds one element, whereas the second holds three (i.e. the changeset has | ||||
| been split). | been split). | ||||
| """ | """ | ||||
| # passed to successorssets caching computation from one call to another | # passed to successorssets caching computation from one call to another | ||||
| cache = {} | cache = {} | ||||
| ctx2str = str | ctx2str = bytes | ||||
| node2str = short | node2str = short | ||||
| for rev in scmutil.revrange(repo, revs): | for rev in scmutil.revrange(repo, revs): | ||||
| ctx = repo[rev] | ctx = repo[rev] | ||||
| ui.write('%s\n'% ctx2str(ctx)) | ui.write('%s\n'% ctx2str(ctx)) | ||||
| for succsset in obsutil.successorssets(repo, ctx.node(), | for succsset in obsutil.successorssets(repo, ctx.node(), | ||||
| closest=opts[r'closest'], | closest=opts[r'closest'], | ||||
| cache=cache): | cache=cache): | ||||
| if succsset: | if succsset: | ||||