comparison tests/fixtures/truncatedhistory.sh @ 88:3b60f223893a

fetch_command: handle nullid parent in stupid non-diffy mode
author Patrick Mezard <pmezard@gmail.com>
date Fri, 14 Nov 2008 16:18:24 -0600
parents
children
comparison
equal deleted inserted replaced
87:b033d74be76b 88:3b60f223893a
1 #!/bin/sh
2 #
3 # Generate truncatedhistory.svndump
4 #
5
6 mkdir temp
7 cd temp
8
9 mkdir project-orig
10 cd project-orig
11 mkdir project1
12 mkdir project2
13 cd ..
14
15 svnadmin create testrepo
16 svnurl=file://`pwd`/testrepo
17 svn import project-orig $svnurl -m "init project"
18
19 svn co $svnurl project
20 # Make a single revision in trunk
21 cd project/project1
22 echo a > a
23 svn add a
24 svn ci -m "add a"
25 cd ..
26 svn up
27 # Rename the project
28 svn mv project1 project2/trunk
29 svn ci -m "rename project1"
30 cd project2/trunk
31 echo b > b
32 svn add b
33 svn ci -m "add b"
34 cd ../../..
35
36 svnadmin dump testrepo > ../truncatedhistory.svndump