Mercurial > public > mercurial-scm > hg
comparison mercurial/manifest.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 | 46293a0c7e9f |
children | beae42f3d93b |
comparison
equal
deleted
inserted
replaced
8311:e0eb03bfa5af | 8312:b87a50b7125c |
---|---|
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 from i18n import _ | 8 from i18n import _ |
9 import array, struct, mdiff, parsers, util, error, revlog | 9 import mdiff, parsers, util, error, revlog |
10 import array, struct | |
10 | 11 |
11 class manifestdict(dict): | 12 class manifestdict(dict): |
12 def __init__(self, mapping=None, flags=None): | 13 def __init__(self, mapping=None, flags=None): |
13 if mapping is None: mapping = {} | 14 if mapping is None: mapping = {} |
14 if flags is None: flags = {} | 15 if flags is None: flags = {} |