Commit of new branch with no files selected fails
Created originally on Bitbucket by Andrew White
Tortoise HG 4.3.1 OS X
Steps to reproduce:
- create new branch from command line (external to Tortoise HG) - do not check in
- change a file
- in TortoiseHG, deselect the changed file
- enter a commit commit
- select commit
Expected behaviour:
- no-delta branch is committed
Actual behaviour:
#!python
** Mercurial version (4.3.1). TortoiseHg version (4.3.1)
** Command:
** CWD: /Applications/TortoiseHg.app/Contents/Resources
** Encoding: utf-8
** Extensions loaded: graphlog, convert, strip, mq, onsub, contains
** Python version: 2.7.11 (default, Jun 4 2016, 17:10:25) [GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)]
** System: Darwin xxx.xxx.xxx 16.7.0 Darwin Kernel Version 16.7.0: Thu Dec 20 21:53:35 PST 2018; root:xnu-3789.73.31~1/RELEASE_X86_64 x86_64
** Qt-4.8.6 PyQt-4.11.4 QScintilla-2.9.1
Traceback (most recent call last):
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/commit.py", line 545, in mqPerformAction
File "/Applications/TortoiseHg.app/Contents/Resources/lib/python2.7/tortoisehg/hgqt/commit.py", line 1029, in commit
AssertionError