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

« back to all changes in this revision

Viewing changes to exporters/darcs/t/testimport-git-twoway-gd.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
 
4
 
 
5
rm -rf test.git
 
6
mkdir test.git
 
7
cd test.git
 
8
git init
 
9
git darcs add upstream ../test
 
10
git darcs pull upstream
 
11
cd ..
 
12
diff_git test || die "initial fetch differs"
 
13
upd_file_darcs test file2 upd_contents
 
14
cd test.git
 
15
git darcs pull upstream
 
16
cd ..
 
17
diff_git test || die "fetch #1 differs"
 
18
upd_file_git test.git file2 upd_contents2
 
19
cd test.git
 
20
git darcs push upstream
 
21
cd ..
 
22
diff_git test || die "push #1 difers"
 
23
upd_file_darcs test file2 upd_contents3
 
24
upd_file_darcs test file2 upd_contents32
 
25
cd test.git
 
26
git darcs pull upstream
 
27
cd ..
 
28
diff_git test || die "fetch #2 (multiple commits) differs"
 
29
upd_file_git test.git file2 upd_contents4
 
30
upd_file_git test.git file2 upd_contents42
 
31
cd test.git
 
32
git darcs push upstream
 
33
cd ..
 
34
diff_git test || die "push #2 (multiple commits) differs"