2011/4/13 John Sparrow <[email protected]>: > Got this crash when attempting to shelve some chunks in a file: > > {{{ > #!python > ** Mercurial version (1.8.2). TortoiseHg version (2.0.3) > ** Command: --nofork status > ** CWD: C:\Documents and Settings\Administrator\My Documents\Projects\MyProj > ** Extensions loaded: fixfrozenexts, transplant, share > ** Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 > bit (Intel)] > ** Windows version: (5, 2, 3790, 2, 'Service Pack 2') > ** 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> > }}}
Seems to be the same issue as: https://bitbucket.org/tortoisehg/thg/issue/462/crash-in-shelve-tool-with-utf-8-files Correction is already available in stable. > It also resulted in data loss because my working copy file (the source of > the chunks) was corrupted. So any uncommitted chunks I didn't pick for > shelving were lost! As mentioned in https://bitbucket.org/tortoisehg/thg/issue/543/putting-a-chunk-on-shelve-fails "backups are always written to .hg/Traschcan before each shelve step" André ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

