view tests/test-pull-after-strip.out @ 390:3f0f0c64f81c

tests: cope with output format changes in hg 1.8 These test changes should make it easier to see what's still broken in 1.8 and 1.9. Ideally, we'll drop pre-1.8 versions soon and rip most of this out, but I'm not sure how realistic that is in the short term.
author Augie Fackler <durin42@gmail.com>
date Sun, 15 May 2011 17:04:05 -0500
parents eb345bacc1da
children 15d362677859
line wrap: on
line source

Initialized empty Git repository in gitrepo/.git/

Switched to a new branch "beta"
% clone a tag
importing Hg objects into Git
Counting objects: 3, done.
Total 3 (delta 0), reused 0 (delta 0)
importing Git objects into Hg
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@  changeset:   0:3442585be8a6
   tag:         alpha
   tag:         default/master
   tag:         tip
   user:        test <test@example.org>
   date:        Mon Jan 01 00:00:10 2007 +0000
   summary:     add alpha

% clone a branch
importing Hg objects into Git
Counting objects: 6, done.
Compressing objects:  33% (1/3)   
Compressing objects:  66% (2/3)   
Compressing objects: 100% (3/3)   
Compressing objects: 100% (3/3), done.
Total 6 (delta 0), reused 0 (delta 0)
importing Git objects into Hg
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
@  changeset:   1:7bcd915dc873
|  tag:         default/beta
|  tag:         tip
|  user:        test <test@example.org>
|  date:        Mon Jan 01 00:00:11 2007 +0000
|  summary:     add beta
|
o  changeset:   0:3442585be8a6
   tag:         alpha
   tag:         default/master
   user:        test <test@example.org>
   date:        Mon Jan 01 00:00:10 2007 +0000
   summary:     add alpha

0 files updated, 0 files merged, 1 files removed, 0 files unresolved
pulling from git://localhost/gitrepo
importing Hg objects into Git
Counting objects: 6, done.
Compressing objects:  25% (1/4)   
Compressing objects:  50% (2/4)   
Compressing objects:  75% (3/4)   
Compressing objects: 100% (4/4)   
Compressing objects: 100% (4/4), done.
Total 6 (delta 0), reused 0 (delta 0)
importing Git objects into Hg
abort: you appear to have run strip - please run hg git-cleanup
git commit map cleaned
% pull works after 'hg git-cleanup'
pulling from git://localhost/gitrepo
importing Hg objects into Git
Counting objects: 6, done.
Compressing objects:  25% (1/4)   
Compressing objects:  50% (2/4)   
Compressing objects:  75% (3/4)   
Compressing objects: 100% (4/4)   
Compressing objects: 100% (4/4), done.
Total 6 (delta 0), reused 0 (delta 0)
importing Git objects into Hg
(run 'hg update' to get a working copy)
o  changeset:   2:611948b1ec6a
|  tag:         default/beta
|  tag:         tip
|  user:        test <test@example.org>
|  date:        Mon Jan 01 00:00:12 2007 +0000
|  summary:     add to beta
|
o  changeset:   1:7bcd915dc873
|  user:        test <test@example.org>
|  date:        Mon Jan 01 00:00:11 2007 +0000
|  summary:     add beta
|
@  changeset:   0:3442585be8a6
   tag:         alpha
   tag:         default/master
   user:        test <test@example.org>
   date:        Mon Jan 01 00:00:10 2007 +0000
   summary:     add alpha