Show More
@@ -90,8 +90,8 b' def convert(ui, src, dest=None, revmapfi' | |||||
90 | ignore integrity errors when reading. Use it to fix Mercurial |
|
90 | ignore integrity errors when reading. Use it to fix Mercurial | |
91 | repositories with missing revlogs, by converting from and to |
|
91 | repositories with missing revlogs, by converting from and to | |
92 | Mercurial. |
|
92 | Mercurial. | |
93 |
--config convert.hg.saverev= |
|
93 | --config convert.hg.saverev=False (boolean) | |
94 | allow target to preserve source revision ID |
|
94 | store original revision ID in changeset (forces target IDs to change) | |
95 | --config convert.hg.startrev=0 (hg revision identifier) |
|
95 | --config convert.hg.startrev=0 (hg revision identifier) | |
96 | convert start revision and its descendants |
|
96 | convert start revision and its descendants | |
97 |
|
97 |
@@ -193,7 +193,7 b' class mercurial_source(converter_source)' | |||||
193 | converter_source.__init__(self, ui, path, rev) |
|
193 | converter_source.__init__(self, ui, path, rev) | |
194 | self.ignoreerrors = ui.configbool('convert', 'hg.ignoreerrors', False) |
|
194 | self.ignoreerrors = ui.configbool('convert', 'hg.ignoreerrors', False) | |
195 | self.ignored = {} |
|
195 | self.ignored = {} | |
196 |
self.saverev = ui.configbool('convert', 'hg.saverev', |
|
196 | self.saverev = ui.configbool('convert', 'hg.saverev', False) | |
197 | try: |
|
197 | try: | |
198 | self.repo = hg.repository(self.ui, path) |
|
198 | self.repo = hg.repository(self.ui, path) | |
199 | # try to provoke an exception if this isn't really a hg |
|
199 | # try to provoke an exception if this isn't really a hg |
@@ -48,18 +48,18 b' o 1 "2: copy e from a, change b" files:' | |||||
48 | o 0 "1: add c" files: a b c |
|
48 | o 0 "1: add c" files: a b c | |
49 |
|
49 | |||
50 | % check copy preservation |
|
50 | % check copy preservation | |
51 |
changeset: 2: |
|
51 | changeset: 2:d67b1d48a835 | |
52 | user: test |
|
52 | user: test | |
53 | date: Thu Jan 01 00:00:04 1970 +0000 |
|
53 | date: Thu Jan 01 00:00:04 1970 +0000 | |
54 | summary: 4: merge 2 and 3, copy d from b |
|
54 | summary: 4: merge 2 and 3, copy d from b | |
55 |
|
55 | |||
56 |
changeset: 1: |
|
56 | changeset: 1:462c431cf47d | |
57 | user: test |
|
57 | user: test | |
58 | date: Thu Jan 01 00:00:02 1970 +0000 |
|
58 | date: Thu Jan 01 00:00:02 1970 +0000 | |
59 | summary: 2: copy e from a, change b |
|
59 | summary: 2: copy e from a, change b | |
60 |
|
60 | |||
61 | % check copy removal on missing parent |
|
61 | % check copy removal on missing parent | |
62 |
changeset: 2: |
|
62 | changeset: 2:d67b1d48a835 | |
63 | user: test |
|
63 | user: test | |
64 | date: Thu Jan 01 00:00:04 1970 +0000 |
|
64 | date: Thu Jan 01 00:00:04 1970 +0000 | |
65 | summary: 4: merge 2 and 3, copy d from b |
|
65 | summary: 4: merge 2 and 3, copy d from b |
@@ -76,8 +76,8 b' convert a foreign SCM repository to a Me' | |||||
76 | ignore integrity errors when reading. Use it to fix Mercurial |
|
76 | ignore integrity errors when reading. Use it to fix Mercurial | |
77 | repositories with missing revlogs, by converting from and to |
|
77 | repositories with missing revlogs, by converting from and to | |
78 | Mercurial. |
|
78 | Mercurial. | |
79 |
--config convert.hg.saverev= |
|
79 | --config convert.hg.saverev=False (boolean) | |
80 | allow target to preserve source revision ID |
|
80 | store original revision ID in changeset (forces target IDs to change) | |
81 | --config convert.hg.startrev=0 (hg revision identifier) |
|
81 | --config convert.hg.startrev=0 (hg revision identifier) | |
82 | convert start revision and its descendants |
|
82 | convert start revision and its descendants | |
83 |
|
83 |
General Comments 0
You need to be logged in to leave comments.
Login now