localrepo: remove 'closed' argument to heads(...) function
- repository heads are not associated with the closed attribute, so remove it making the code in line with the concept. - Fix functions that were calling heads with the parameter. - Adjust webcommands.branches to include the concept of inactive as well as open and closed branches - Fix code and docstrings in commands to make the correct use of closed branches & branch heads clearer - Improve grammar of 'hg heads' help text (2nd submission) this does not alter the cli for hg branches, that work is still to be done
Showing
- mercurial/commands.py 24 additions, 13 deletionsmercurial/commands.py
- mercurial/hgweb/webcommands.py 7 additions, 2 deletionsmercurial/hgweb/webcommands.py
- mercurial/localrepo.py 2 additions, 7 deletionsmercurial/localrepo.py
- tests/test-branches 11 additions, 1 deletiontests/test-branches
- tests/test-branches.out 42 additions, 4 deletionstests/test-branches.out
- tests/test-hgweb-commands.out 1 addition, 1 deletiontests/test-hgweb-commands.out
Loading
Please register or sign in to comment