Updated fix for issue 448
Created originally on Bitbucket by davidnorth (David North)
Was already merged in Bitbucket before import, marked as merged by the import user
Following on from https://bitbucket.org/mercurialeclipse/main/pull-request/2/potential-fix-for-issue-448/diff, this pull request has been tested locally and properly fixes the problem.