equal
deleted
inserted
replaced
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" |