Details
Details
- Reviewers
durin42 dlax - Group Reviewers
hg-reviewers - Commits
- rHG259feddc04e6: rebase: pass wctx to rebasenode()
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.
Event Timeline
hgext/rebase.py | ||
---|---|---|
995 | Isn't it meant to be used in the function body? I see a wctx = repo[None] below, perhaps it should be dropped. But this wouldn't work with a None default value as mentioned in the next patch. |
hgext/rebase.py | ||
---|---|---|
995 | Yes, it's used in the next patch. But you're right that it's the only callsite, so I've made it non-optional. |
Isn't it meant to be used in the function body? I see a wctx = repo[None] below, perhaps it should be dropped.
But this wouldn't work with a None default value as mentioned in the next patch.