Error on shelving changes

Issue #2684 invalid
Anonymous created an issue


Sorry haven't checked if this is already logged, I'm logging it anyway as it explains the issue pretty well so hopefully won't waste anyone's time. Shelving changes within a file and I got this. In a rush as want to see if I've lost any edits to my files :(



Mercurial version (1.8.2). TortoiseHg version (2.0.3) Command: --nofork workbench CWD: C:\ODM_HG\ODM_3.7\LIBRARIES\Petrel 2010_1 Extensions loaded: fixfrozenexts, fetch, gestalt, kilnpath, big-push, kiln, caseguard, kbfiles, kilnauth, mq Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] Windows version: (5, 1, 2600, 2, 'Service Pack 3') Processor architecture: x86 Qt-4.7.1 PyQt-4.8.2 Traceback (most recent call last): File "tortoisehg\hgqt\shelve.pyo", line 231, in moveChunksRight File "tortoisehg\hgqt\chunks.pyo", line 217, in deleteSelectedChunks File "tortoisehg\util\hglib.pyo", line 74, in fromunicode File "encodings\cp1252.pyo", line 12, in encode UnicodeEncodeError: 'charmap' codec can't encode character u'\ufeff' in position 0: character maps to <undefined>


Comments (3)

  1. Anonymous

    It appears that my selected changes have been shelved correctly, but the contents of the file (along with any non-shelved changes) have been nuked. Hope this helps.

  2. Anonymous

    File was a Visual Studio 2008 .csproj file if this helps. Shouldn't have any dodgy unicode characters in it AFAIK.

  3. Log in to comment