Mercurial > hgsubversion
comparison tests/fixtures/emptyrepo.sh @ 83:6c9b7cf1c5aa
push_cmd: delete empty svn directories, refactor directory creation
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Fri, 14 Nov 2008 16:18:24 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
82:71de43e9f614 | 83:6c9b7cf1c5aa |
---|---|
1 #!/bin/sh | |
2 # | |
3 # Generate renames.svndump | |
4 # | |
5 | |
6 mkdir temp | |
7 cd temp | |
8 | |
9 mkdir project-orig | |
10 cd project-orig | |
11 mkdir trunk | |
12 mkdir branches | |
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 cd project/trunk | |
21 # Create and remove a file, hgsubversion does not like | |
22 # empty repositories | |
23 echo a > a | |
24 svn add a | |
25 svn ci -m "add a" | |
26 svn rm a | |
27 svn ci -m "remove a" | |
28 cd ../.. | |
29 | |
30 svnadmin dump testrepo > ../emptyrepo.svndump |