# HG changeset patch # User Mads Kiilerich # Date 1458860467 25200 # Node ID 8c94594adbefa699d00be0068c883f3e13e0eb65 # Parent 8d398155bfda3a98e664af74096f0e405cc7dd09 tests: coverage of ancestry with convert in multiple non-overlapping steps This exposes that parent information is lost in cases where it is possible to preserve it - and where it thus would make sense if that was what happened. diff -r 8d398155bfda -r 8c94594adbef tests/test-convert-hg-startrev.t --- a/tests/test-convert-hg-startrev.t Mon Feb 29 22:58:15 2016 +0900 +++ b/tests/test-convert-hg-startrev.t Thu Mar 24 16:01:07 2016 -0700 @@ -221,3 +221,25 @@ |/ o 0 "0: add a b f" files: a b f +Convert in multiple steps that doesn't overlap - the link to the parent is +currently missing + + $ hg convert --config convert.hg.revs=::1 source multistep + initializing destination multistep repository + scanning source... + sorting... + converting... + 1 0: add a b f + 0 1: add c, move f to d + $ hg convert --config convert.hg.revs=2 source multistep + scanning source... + sorting... + converting... + 0 2: copy e from a, change b + $ glog multistep + o 2 "2: copy e from a, change b" files: a b c d e + + o 1 "1: add c, move f to d" files: c d f + | + o 0 "0: add a b f" files: a b f +