##// END OF EJS Templates
Improved ui.edit():...
Improved ui.edit(): - Use descriptive name for temporary file: hg-editor-*.txt - Don't import tempfile in the method, but use demandload() - Remove tempfile file even if editor aborts.

File last commit:

r1089:142b5d5e default
r1984:df7436f4 default
Show More
repo.py
8 lines | 274 B | text/x-python | PythonLexer
# repo.py - repository base classes for mercurial
#
# Copyright 2005 Matt Mackall <mpm@selenic.com>
#
# This software may be used and distributed according to the terms
# of the GNU General Public License, incorporated herein by reference.
class RepoError(Exception): pass