Mercurial > hg
comparison tests/test-convert-hg-startrev.t @ 26154:242853e14804
convert: remove restriction on multiple --rev in hg source
Multiple --rev args on convert is a new feature, and was initially disabled for
all sources. It has since been enabled on git sources, and this patch enables it
on mercurial sources.
author | Durham Goode <durham@fb.com> |
---|---|
date | Thu, 03 Sep 2015 10:29:42 -0700 |
parents | aa9385f983fa |
children | 8c94594adbef |
comparison
equal
deleted
inserted
replaced
26153:8aa6fb6de161 | 26154:242853e14804 |
---|---|
199 | | 199 | |
200 o 1 "3: change a" files: a | 200 o 1 "3: change a" files: a |
201 | | 201 | |
202 o 0 "0: add a b f" files: a b f | 202 o 0 "0: add a b f" files: a b f |
203 | 203 |
204 $ cd .. | 204 Convert from specified revs |
205 | |
206 $ hg convert --rev 3 --rev 2 source multiplerevs | |
207 initializing destination multiplerevs repository | |
208 scanning source... | |
209 sorting... | |
210 converting... | |
211 3 0: add a b f | |
212 2 1: add c, move f to d | |
213 1 2: copy e from a, change b | |
214 0 3: change a | |
215 $ glog multiplerevs | |
216 o 3 "3: change a" files: a | |
217 | | |
218 | o 2 "2: copy e from a, change b" files: b e | |
219 | | | |
220 | o 1 "1: add c, move f to d" files: c d f | |
221 |/ | |
222 o 0 "0: add a b f" files: a b f | |
223 |