Mercurial > hgsubversion
comparison tests/fixtures/file_not_in_trunk_root.sh @ 207:b20a6c149021
fetch: Fix a bogus case where no files in the root level of trunk caused breakage in the branch detection.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 09 Mar 2009 12:01:40 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
206:c2e51d6a2d7b | 207:b20a6c149021 |
---|---|
1 #!/bin/sh | |
2 mkdir temp | |
3 cd temp | |
4 svnadmin create repo | |
5 svn co file://`pwd`/repo wc | |
6 cd wc | |
7 mkdir branches trunk tags | |
8 svn add * | |
9 svn ci -m 'btt' | |
10 cd trunk | |
11 mkdir narf | |
12 cd narf | |
13 for a in alpha beta gamma delta ; do | |
14 echo $a > $a | |
15 done | |
16 cd .. | |
17 svn add narf | |
18 svn ci -m 'Add files.' | |
19 cd ../../.. | |
20 svnadmin dump temp/repo > file_not_in_trunk_root.svndump | |
21 echo | |
22 echo 'Complete.' | |
23 echo 'You probably want to clean up temp now.' | |
24 echo 'Dump in file_not_in_trunk_root.svndump' | |
25 exit 0 |