changeset 29:3820c7a49627

test-fastimport-git now passes, so make sure it's repeatable.
author Greg Ward <greg-hg@gerg.ca>
date Mon, 04 May 2009 10:58:57 -0400
parents b1442ebb4fcd
children 87873075e128
files tests/test-fastimport-git tests/test-fastimport-git.out
diffstat 2 files changed, 44 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-fastimport-git	Mon May 04 10:58:13 2009 -0400
+++ b/tests/test-fastimport-git	Mon May 04 10:58:57 2009 -0400
@@ -62,11 +62,12 @@
 
 echo "% import simple dump from git"
 hg init simplegit
-hg -R simplegit fastimport simplegit.dump
+hg -R simplegit fastimport simplegit.dump \
+  | sed "s|$HGTMP|HGTMP|g"
 
 echo "% hg log"
 cd simplegit
-hg glog
+hg glog -v
 
 echo "% manifest at rev 0"
 hg manifest -r0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-fastimport-git.out	Mon May 04 10:58:57 2009 -0400
@@ -0,0 +1,41 @@
+% import simple dump from git
+Reading source: simplegit.dump
+0 files updated, 0 files merged, 0 files removed, 0 files unresolved
+Done commit of rev 0
+2 files updated, 0 files merged, 0 files removed, 0 files unresolved
+Done commit of rev 1
+Removing blob dir 'HGTMP/test-fastimport-git/simplegit/.hg/blobs' ...
+% hg log
+@  changeset:   1:f5fb7ed5752d
+|  tag:         tip
+|  user:        Joe Contributor <joe@example.com>
+|  date:        Fri Jan 11 01:20:00 2008 +0400
+|  files:       ooga
+|  description:
+|  modify
+|
+|
+o  changeset:   0:56c9f26e6c12
+   user:        Example <example@example.org>
+   date:        Fri Jan 11 01:21:00 2008 +0400
+   files:       foo.txt ooga
+   description:
+   initial revision
+
+
+% manifest at rev 0
+foo.txt
+ooga
+% manifest at rev 1
+foo.txt
+ooga
+% cat foo.txt at rev 0
+hello there
+% cat foo.txt at rev 1
+hello there
+% cat ooga at rev 0
+ooga booga
+% cat ooga at rev 1
+woof woof
+ooga booga
+blah blah