convert: add closesort algorithm to mercurial sources
If you actively work with branches, sometimes you need to close old branches which last commited hundreds revisions ago. After close you will see long lines in graph visually spoiling history. This sort only moves closed revisions as close as possible to parents and does not increase storage size as datesort do.
Showing
- hgext/convert/__init__.py 6 additions, 1 deletionhgext/convert/__init__.py
- hgext/convert/common.py 5 additions, 0 deletionshgext/convert/common.py
- hgext/convert/convcmd.py 13 additions, 1 deletionhgext/convert/convcmd.py
- hgext/convert/hg.py 3 additions, 0 deletionshgext/convert/hg.py
- tests/test-convert-datesort.t 129 additions, 34 deletionstests/test-convert-datesort.t
- tests/test-convert.t 3 additions, 0 deletionstests/test-convert.t
Loading
Please register or sign in to comment