##// END OF EJS Templates
doc: add execute bit and fix shbang line for gendoc.py
doc: add execute bit and fix shbang line for gendoc.py

File last commit:

r8887:0332f8b4 default
r27496:f22cd17a default
Show More
svndump-encoding.sh
57 lines | 1.0 KiB | application/x-sh | BashLexer
/ tests / svn / svndump-encoding.sh
Patrick Mezard
convert/svn: remove useless encoding/decoding calls (issue1676)
r8882 # -*- coding: utf-8 -*-
#!/bin/sh
#
# Use this script to generate encoding.svndump
#
mkdir temp
cd temp
mkdir project-orig
cd project-orig
mkdir trunk
mkdir branches
mkdir tags
cd ..
svnadmin create svn-repo
svnurl=file://`pwd`/svn-repo
svn import project-orig $svnurl -m "init projA"
svn co $svnurl project
cd project
echo e > trunk/é
mkdir trunk/à
echo d > trunk/à/é
svn add trunk/é trunk/à
svn ci -m hello
# Copy files and directories
svn mv trunk/é trunk/è
svn mv trunk/à trunk/ù
svn ci -m "copy files"
# Remove files
svn rm trunk/è
svn rm trunk/ù
svn ci -m 'remove files'
Patrick Mezard
convert/svn: stop returning unicode revision identifiers
r8886
# Create branches with and from weird names
svn up
svn cp trunk branches/branché
echo a > branches/branché/a
svn ci -m 'branch to branché'
svn up
svn cp branches/branché branches/branchée
echo a >> branches/branché/a
svn ci -m 'branch to branchée'
Patrick Mezard
convert/svn: test svn tags encoding
r8887
# Create tag with weird name
svn up
svn cp trunk tags/branché
svn ci -m 'tag trunk'
svn cp branches/branchée tags/branchée
svn ci -m 'tag branché'
Patrick Mezard
convert/svn: remove useless encoding/decoding calls (issue1676)
r8882 cd ..
svnadmin dump svn-repo > ../encoding.svndump