Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/changelog.py @ 3412:f2de6b6bc57a
imported patch b1
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 17 Oct 2006 18:01:14 -0500 |
parents | 2f35961854fb |
children | 29d91e57d055 |
comparison
equal
deleted
inserted
replaced
3400:d2b55e3c4e25 | 3412:f2de6b6bc57a |
---|---|
57 (.*) : comment (free text, ideally utf-8) | 57 (.*) : comment (free text, ideally utf-8) |
58 | 58 |
59 changelog v0 doesn't use extra | 59 changelog v0 doesn't use extra |
60 """ | 60 """ |
61 if not text: | 61 if not text: |
62 return (nullid, "", (0, 0), [], "") | 62 return (nullid, "", (0, 0), [], "", {}) |
63 last = text.index("\n\n") | 63 last = text.index("\n\n") |
64 desc = text[last + 2:] | 64 desc = text[last + 2:] |
65 l = text[:last].split('\n') | 65 l = text[:last].split('\n') |
66 manifest = bin(l[0]) | 66 manifest = bin(l[0]) |
67 user = l[1] | 67 user = l[1] |