Shelve enhancements
Created originally on Bitbucket by alexandrul (Eduard-Cristian Stefan)
If there is no shelf:
- the number of chunks is shown as equal to the number of changes in the file
- using select all button I can press the delete selected chunks button, which gives a traceback:
{{{ #!python ** Mercurial version (1.8.2). TortoiseHg version (2.0.3) ** Command: --nofork ** CWD: K:\temp ** Extensions loaded: hggit, hgsubversion, convert, extdiff, mq, patchbomb, rebase, transplant, mercurial_keyring ** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] ** Windows version: (6, 1, 7600, 2, '') ** Processor architecture: x86 ** Qt-4.7.1 PyQt-4.8.3 Traceback (most recent call last): File "k:\qt\thg\tortoisehg\hgqt\chunks.py", line 178, in deleteSelectedChunks if ctx._ph.comments: AttributeError: 'patchctx' object has no attribute '_ph' }}}
For an emptied shelf, the number of chunks is shown as the last count of chunks, and I can also try and delete selected chunks.
Attachments: shelve.swf