~ubuntu-branches/ubuntu/lucid/bzr-fastimport/lucid

« back to all changes in this revision

Viewing changes to exporters/darcs/t/test-git-progress.sh

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij
  • Date: 2009-09-26 00:21:27 UTC
  • mfrom: (1.1.3 upstream) (0.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090926002127-naki02grwmkapav6
Tags: 0.9.0~bzr243-1
* New upstream snapshot.
* Bump standards version to 3.8.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
. ./lib.sh
 
2
 
 
3
create_darcs test --old-fashioned-inventory
 
4
 
 
5
rm -rf test.darcs test.git
 
6
mkdir test.git
 
7
cd test.git
 
8
git --bare init
 
9
cd ..
 
10
if [ "$1" != "--stdout" ]; then
 
11
        darcs-fast-export --progres 2 test |(cd test.git; git fast-import)
 
12
        if [ $? = 0 ]; then
 
13
                diff_git test
 
14
                exit $?
 
15
        fi
 
16
else
 
17
        darcs-fast-export test
 
18
fi