Show More
|
1 | NO CONTENT: modified file chmod 100644 => 100755 |
|
1 | NO CONTENT: modified file chmod 100644 => 100755 |
@@ -1,57 +1,57 b'' | |||
|
1 | #!/bin/sh | |
|
1 | 2 | # -*- coding: utf-8 -*- |
|
2 | #!/bin/sh | |
|
3 | 3 | # |
|
4 | 4 | # Use this script to generate encoding.svndump |
|
5 | 5 | # |
|
6 | 6 | |
|
7 | 7 | mkdir temp |
|
8 | 8 | cd temp |
|
9 | 9 | |
|
10 | 10 | mkdir project-orig |
|
11 | 11 | cd project-orig |
|
12 | 12 | mkdir trunk |
|
13 | 13 | mkdir branches |
|
14 | 14 | mkdir tags |
|
15 | 15 | cd .. |
|
16 | 16 | |
|
17 | 17 | svnadmin create svn-repo |
|
18 | 18 | svnurl=file://`pwd`/svn-repo |
|
19 | 19 | svn import project-orig $svnurl -m "init projA" |
|
20 | 20 | |
|
21 | 21 | svn co $svnurl project |
|
22 | 22 | cd project |
|
23 | 23 | echo e > trunk/é |
|
24 | 24 | mkdir trunk/à |
|
25 | 25 | echo d > trunk/à/é |
|
26 | 26 | svn add trunk/é trunk/à |
|
27 | 27 | svn ci -m hello |
|
28 | 28 | |
|
29 | 29 | # Copy files and directories |
|
30 | 30 | svn mv trunk/é trunk/è |
|
31 | 31 | svn mv trunk/à trunk/ù |
|
32 | 32 | svn ci -m "copy files" |
|
33 | 33 | |
|
34 | 34 | # Remove files |
|
35 | 35 | svn rm trunk/è |
|
36 | 36 | svn rm trunk/ù |
|
37 | 37 | svn ci -m 'remove files' |
|
38 | 38 | |
|
39 | 39 | # Create branches with and from weird names |
|
40 | 40 | svn up |
|
41 | 41 | svn cp trunk branches/branché |
|
42 | 42 | echo a > branches/branché/a |
|
43 | 43 | svn ci -m 'branch to branché' |
|
44 | 44 | svn up |
|
45 | 45 | svn cp branches/branché branches/branchée |
|
46 | 46 | echo a >> branches/branché/a |
|
47 | 47 | svn ci -m 'branch to branchée' |
|
48 | 48 | |
|
49 | 49 | # Create tag with weird name |
|
50 | 50 | svn up |
|
51 | 51 | svn cp trunk tags/branché |
|
52 | 52 | svn ci -m 'tag trunk' |
|
53 | 53 | svn cp branches/branchée tags/branchée |
|
54 | 54 | svn ci -m 'tag branché' |
|
55 | 55 | cd .. |
|
56 | 56 | |
|
57 | 57 | svnadmin dump svn-repo > ../encoding.svndump |
General Comments 0
You need to be logged in to leave comments.
Login now