comparison tests/test-fastimport-anonbranch @ 47:7ff36dc9f0b1

Massive rework to use infrastructure provided by convert extension. fastimport no longer stages changes in the repository's working copy; instead, it now works like any other convert source: the imported history is kept in memory (except for file contents) and then processed by the 'convert' extension.
author Greg Ward <greg-hg@gerg.ca>
date Sat, 16 May 2009 12:57:22 -0400
parents 932e78684043
children 9608f415ebe8
comparison
equal deleted inserted replaced
46:93c2b1e832bd 47:7ff36dc9f0b1
106 set -e 106 set -e
107 echo "% import" 107 echo "% import"
108 rm -rf anonbranch 108 rm -rf anonbranch
109 hg init anonbranch 109 hg init anonbranch
110 cd anonbranch 110 cd anonbranch
111 hg fastimport ../anonbranch.dump 111 hg fastimport ../anonbranch.dump | sed "s|$HGTMP|HGTMP|g"
112 112
113 echo "% log" 113 echo "% log"
114 hg glog --template "{rev}:{node|short}\n{desc}\n\n" 114 hg glog --template "{rev}:{node|short}\n{desc}\n\n"
115 115
116 echo "% manifest at rev 0" 116 echo "% manifest at rev 0"