This patch copies the handling of stringified ints from changectx's
constructor. It then calls repo.getitem with the int. Since that
method only interprets integers as revnums the first thing it does,
this will not be redoing any of the work already done. We leave the
old code in place so we can later deprecate it instead of breaking
extensions.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG1c09481acdcc: context: handle stringified ints in revsymbol()
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
I should decide what to do about the changeid == repo.dirstate.p1() case before this patch. Also, I may find more cases that should be fixed when I move out other parts (I just found one case in hgweb), so please hold off reviewing this.