blob: 4a0f9bf8f0f708c5448c517634cf46daba3a6210 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/bin/sh
CVSROOT="$PWD/repo"
WORKINGDIR="$PWD/wd"
export CVSROOT
rm -rf "$CVSROOT" "$WORKINGDIR" || exit
# Set up the repository
mkdir -p "$CVSROOT"
cvs init
# Set up the module
mkdir -p "$WORKINGDIR"
(
cd "$WORKINGDIR"
cvs import -m "Initial import" wd vendor-tag release-tag
)
rm -rf "$WORKINGDIR"
cvs co wd
# Add a dummy file to the module, with some tags
(
cd "$WORKINGDIR"
echo "A test of multiple tags" > tag-testing
cvs add tag-testing
cvs commit -m "Initial file"
cvs tag -c tag1
cvs tag -c tag2
)
|