comparison tests/test-convert-bzr @ 8470:dd24488cba2d

convert/bzr: warn when source is a lightweight checkout (issue1647)
author Patrick Mezard <pmezard@gmail.com>
date Sun, 17 May 2009 14:35:06 +0200
parents 4a3e7c380834
children
comparison
equal deleted inserted replaced
8469:cb897f10e54a 8470:dd24488cba2d
31 cat > filemap <<EOF 31 cat > filemap <<EOF
32 exclude a 32 exclude a
33 EOF 33 EOF
34 hg convert --filemap filemap source source-filemap-hg 34 hg convert --filemap filemap source source-filemap-hg
35 hg -R source-filemap-hg manifest -r tip 35 hg -R source-filemap-hg manifest -r tip
36
37 echo '% convert from lightweight checkout'
38 bzr checkout --lightweight source source-light
39 hg convert source-light source-light-hg
40 echo "% lightweight manifest"
41 hg manifest -R source-light-hg -r tip
36 42
37 # extract timestamps that look just like hg's {date|isodate}: 43 # extract timestamps that look just like hg's {date|isodate}:
38 # yyyy-mm-dd HH:MM zzzz (no seconds!) 44 # yyyy-mm-dd HH:MM zzzz (no seconds!)
39 echo "% compare timestamps" 45 echo "% compare timestamps"
40 cd source 46 cd source