~ubuntu-branches/debian/jessie/bzr-fastimport/jessie

« back to all changes in this revision

Viewing changes to exporters/darcs/t/testimport-rename.sh

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij
  • Date: 2012-02-29 13:42:26 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20120229134226-dlt6vlyy36vqqw3k
Tags: 0.13.0-1
* New upstream release.
* Bump standards version to 3.9.3 (no changes).
* Add tests for autopkgtest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
. ./lib.sh
2
 
 
3
 
rm -rf test
4
 
mkdir test
5
 
cd test
6
 
git init
7
 
echo a > file
8
 
git add file
9
 
git commit -m a1
10
 
git mv file file2
11
 
git commit -m b
12
 
cd ..
13
 
 
14
 
rm -rf test.darcs
15
 
mkdir test.darcs
16
 
cd test.darcs
17
 
darcs init
18
 
cd ..
19
 
(cd test; git fast-export -M HEAD) > out
20
 
cat out | (cd test.darcs; darcs-fast-import)
21
 
if [ $? != 0 ]; then
22
 
        exit 1
23
 
fi
24
 
diff_importgit test
25
 
exit $?