This is an archive of the discontinued Mercurial Phabricator instance.

stack: remove destutil.stackbase
AbandonedPublic

Authored by lothiraldan on Feb 23 2018, 5:37 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

Use directly stack.getstack in show stack command. Remove destutil.stackbase.
Import a TODO from the show stack in the code.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

lothiraldan created this revision.Feb 23 2018, 5:37 AM

Oh, I guess the series never did formerly define a revset for stack :/

I think there is room for one. We have the ability to mark revsets as experimental or internal, right? Could/should we do that so we don't need hg debugstack?

Anyway, I could probably queue this with some minor rework. But I'm going to hold off a bit and see if others have opinions.

lothiraldan updated this revision to Diff 6219.Feb 28 2018, 6:59 PM

Oh, I guess the series never did formerly define a revset for stack :/
I think there is room for one. We have the ability to mark revsets as experimental or internal, right? Could/should we do that so we don't need hg debugstack?
Anyway, I could probably queue this with some minor rework. But I'm going to hold off a bit and see if others have opinions.

I have updated the series without using debugstack, thank you for the suggestion. I thought revset would were much harder to implement but turn out not so much harder.

lothiraldan abandoned this revision.Oct 5 2019, 12:03 PM