Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/encoding.py @ 8312:b87a50b7125c
separate import lines from mercurial and general python modules
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Tue, 28 Apr 2009 17:40:46 +0200 |
parents | 8b2cd04a6e97 |
children | 9e9f63d5c456 |
comparison
equal
deleted
inserted
replaced
8311:e0eb03bfa5af | 8312:b87a50b7125c |
---|---|
3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others | 3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others |
4 # | 4 # |
5 # This software may be used and distributed according to the terms of the | 5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2, incorporated herein by reference. | 6 # GNU General Public License version 2, incorporated herein by reference. |
7 | 7 |
8 import sys, unicodedata, locale, os, error | 8 import error |
9 import sys, unicodedata, locale, os | |
9 | 10 |
10 _encodingfixup = {'646': 'ascii', 'ANSI_X3.4-1968': 'ascii'} | 11 _encodingfixup = {'646': 'ascii', 'ANSI_X3.4-1968': 'ascii'} |
11 | 12 |
12 try: | 13 try: |
13 encoding = os.environ.get("HGENCODING") | 14 encoding = os.environ.get("HGENCODING") |