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.
syntax: glob
*.elc
*.orig
*.rej
*~
*.so
*.pyc
*.swp
*.prof
tests/*.err
build
dist
doc/*.[0-9]
doc/*.[0-9].gendoc.txt
doc/*.[0-9].{x,ht}ml
MANIFEST
patches
mercurial/__version__.py
syntax: regexp
^\.pc/