Mercurial > hg > mercurial-crew-with-dirclash
comparison hgext/mq.py @ 2300:52b9b6751b2c
Use "# Date" instead of "# Timestamp" for dated export/import of patches.
And don't break up list for % formatting.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 17 May 2006 19:00:16 +0200 |
parents | dacf718e1d48 |
children | 7c2623aedeb4 |
comparison
equal
deleted
inserted
replaced
2299:dacf718e1d48 | 2300:52b9b6751b2c |
---|---|
118 continue | 118 continue |
119 elif format == "hgpatch": | 119 elif format == "hgpatch": |
120 # parse values when importing the result of an hg export | 120 # parse values when importing the result of an hg export |
121 if line.startswith("# User "): | 121 if line.startswith("# User "): |
122 user = line[7:] | 122 user = line[7:] |
123 elif line.startswith("# Timestamp "): | 123 elif line.startswith("# Date "): |
124 date = line[12:] | 124 date = line[7:] |
125 elif not line.startswith("# ") and line: | 125 elif not line.startswith("# ") and line: |
126 message.append(line) | 126 message.append(line) |
127 format = None | 127 format = None |
128 elif line == '# HG changeset patch': | 128 elif line == '# HG changeset patch': |
129 format = "hgpatch" | 129 format = "hgpatch" |