Mercurial > public > mercurial-scm > hg
diff tests/test-convert-datesort @ 8690:c5b4f662109f
convert: add --sourcesort option for source specific sort
Only supported by Mercurial source for now.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 01 Jun 2009 17:12:39 +0200 |
parents | 5b7da468531b |
children | 827d4e807d57 |
line wrap: on
line diff
--- a/tests/test-convert-datesort Mon Jun 01 17:12:38 2009 +0200 +++ b/tests/test-convert-datesort Mon Jun 01 17:12:39 2009 +0200 @@ -20,10 +20,10 @@ hg up -C 0 hg branch branchb echo b >> b -hg ci -Am b0 -d '5 0' +hg ci -Am b0 -d '6 0' hg up -C brancha echo a >> a -hg ci -m a4 -d '6 0' +hg ci -m a4 -d '5 0' echo a >> a hg ci -m a5 -d '7 0' echo a >> a @@ -34,7 +34,12 @@ cd .. echo % convert with datesort -hg convert --datesort t t2 +hg convert --datesort t t-datesort echo % graph converted repo -hg -R t2 glog --template '{rev} "{desc}"\n' +hg -R t-datesort glog --template '{rev} "{desc}"\n' +echo % convert with datesort +hg convert --sourcesort t t-sourcesort +echo % graph converted repo +hg -R t-sourcesort glog --template '{rev} "{desc}"\n' +