##// END OF EJS Templates
shelve: don't crash on file with unexpected extension in .hg/shelved/...
shelve: don't crash on file with unexpected extension in .hg/shelved/ We assumed that the files in the `.hg/shelved/` directory have an extension. That's a valid assumption except that users may put garbage in the directory. This patch fixes the crash by simply not assuming that the result of splittin a string at '.' yields an extension. We don't use the extension since the previous patch anyway. Differential Revision: https://phab.mercurial-scm.org/D9720

File last commit:

r36625:c6061cad default
r47007:c062874a default
Show More
__init__.py
0 lines | 0 B | text/x-python | PythonLexer