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