[Shelve] Can create incorrect shelf ''qwe\asd'
Created originally on Bitbucket by Anonymous
repro steps
- create shelf with name ''qwe\asd'
- try to use than shelf You'll get error
{{{ #!python ** Mercurial version (1.8.2). TortoiseHg version (2.0.3) ** Command: ** CWD: C:\Documents and Settings\All Users\Start Menu\Programs\TortoiseHg ** Extensions loaded: fixfrozenexts, 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 433, in comboBChanged File "tortoisehg\hgqt\thgrepo.pyo", line 246, in changectx File "mercurial\localrepo.pyo", line 576, in changectx File "mercurial\localrepo.pyo", line 206, in getitem File "mercurial\context.pyo", line 27, in init File "mercurial\localrepo.pyo", line 551, in lookup RepoLookupError: unknown revision 'C:\Projects\repo.hg\shelves\Astraea-ft1'
}}}