hgext/__init__.py
author Sune Foldager <cryo@cyanite.org>
Sat, 30 Apr 2011 16:32:50 +0200
changeset 14074 e8271159c8c2
parent 1360 7d439981bec4
child 28450 155e3308289c
permissions -rw-r--r--
filelog: extract metadata parsing and packing _parsemeta returns the dictionary and a list of keys in the order they appear in metadata. This can be used to repack the dictionary in the same order. _packmeta creates metadata from a dictionary and an optional key-order list. In _parsemeta, we use slices and re.search indead of str.index so we can accept both buffers and strings.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1360
7d439981bec4 Re-add hgext/__init__.py
Matt Mackall <mpm@selenic.com>
parents:
diff changeset
     1
# placeholder