Attempting to commit individual files to a mercurial repository commits the entire repository
When attempting to commit individual files to a mercurial repository (by selecting them by control-clicking, then right clicking and selecting 'Commit'), the correct list of files is displayed in the dialog box that appears. However, once you select 'Commit', the entire repository is committed, rather than just the files that were selected.