Show More
@@ -120,8 +120,8 b' class queue:' | |||||
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("# |
|
123 | elif line.startswith("# Date "): | |
124 |
date = line[ |
|
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 |
@@ -1392,7 +1392,7 b' def doexport(ui, repo, changeset, seqno,' | |||||
1392 |
|
1392 | |||
1393 | fp.write("# HG changeset patch\n") |
|
1393 | fp.write("# HG changeset patch\n") | |
1394 | fp.write("# User %s\n" % change[1]) |
|
1394 | fp.write("# User %s\n" % change[1]) | |
1395 |
fp.write("# |
|
1395 | fp.write("# Date %d %d\n" % change[2]) | |
1396 | fp.write("# Node ID %s\n" % hex(node)) |
|
1396 | fp.write("# Node ID %s\n" % hex(node)) | |
1397 | fp.write("# Parent %s\n" % hex(prev)) |
|
1397 | fp.write("# Parent %s\n" % hex(prev)) | |
1398 | if len(parents) > 1: |
|
1398 | if len(parents) > 1: | |
@@ -1705,8 +1705,8 b' def import_(ui, repo, patch1, *patches, ' | |||||
1705 | if line.startswith("# User "): |
|
1705 | if line.startswith("# User "): | |
1706 | user = line[7:] |
|
1706 | user = line[7:] | |
1707 | ui.debug(_('User: %s\n') % user) |
|
1707 | ui.debug(_('User: %s\n') % user) | |
1708 |
elif line.startswith("# |
|
1708 | elif line.startswith("# Date "): | |
1709 |
date = line[ |
|
1709 | date = line[7:] | |
1710 | elif not line.startswith("# ") and line: |
|
1710 | elif not line.startswith("# ") and line: | |
1711 | message.append(line) |
|
1711 | message.append(line) | |
1712 | hgpatch = False |
|
1712 | hgpatch = False |
General Comments 0
You need to be logged in to leave comments.
Login now