git-code-debt icon indicating copy to clipboard operation
git-code-debt copied to clipboard

WIP: add mercurial support

Open grimmy opened this issue 4 years ago • 2 comments

This is my initial attempt at mercurial support. This is a WIP pr because there's some stuff that definitely can not stay, but this does work.

That said, there's a bunch of things we can do a bit better. For example, I had to comment some stuff out where we calculate diff stat, but both git, hg, and some other scms can do this when we generate the diff itself.

There's some other things that could be cleaned up like getting all commits at once instead of invoking the scm tool once for every commit, but that's better left for another pull request.

grimmy avatar May 15 '21 22:05 grimmy

took a quick look at this, looks pretty good! let me know if you want to finish it up or I can probably finish it up? let me know!

asottile avatar May 18 '21 02:05 asottile

Feel free to finish this off, I'm in security hell :-/

grimmy avatar Jun 28 '21 09:06 grimmy

Going to close this as I think it's clear neither of us are probably ever going to get to it.

grimmy avatar Feb 25 '23 11:02 grimmy