Mercurial > hgsubversion
annotate tests/fixtures/misspelled_branches_tags.sh @ 1189:0ef719f4c371
svnmeta: add defaultauthors property
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 24 Mar 2014 11:20:45 -0500 |
parents | 791382a21cc4 |
children |
rev | line source |
---|---|
1093
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
1 #!/usr/bin/env bash |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
2 |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
3 set -e |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
4 |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
5 mkdir temp |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
6 cd temp |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
7 |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
8 svnadmin create testrepo |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
9 svn checkout file://`pwd`/testrepo client |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
10 |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
11 cd client |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
12 mkdir trunk |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
13 mkdir branchez |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
14 mkdir tagz |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
15 |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
16 svn add trunk branchez tagz |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
17 svn commit -m "Initial commit" |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
18 |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
19 echo "trunk" >> trunk/file |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
20 svn add trunk/file |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
21 svn commit -m "Added file in trunk" |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
22 |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
23 svn cp trunk tagz/tag_from_trunk |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
24 svn ci -m 'created tag from trunk' |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
25 |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
26 svn cp trunk branchez/branch |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
27 svn ci -m 'created branch from trunk' |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
28 |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
29 echo "branch" > branchez/branch/file |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
30 svn ci -m "committed to the branch" |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
31 |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
32 svn cp branchez/branch tagz/tag_from_branch |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
33 svn ci -m "create tag from branch" |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
34 |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
35 cd .. |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
36 svnadmin dump testrepo > ../misspelled_branches_tags.svndump |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
37 |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
38 echo "Created misspelled_branches_tags.svndump" |
791382a21cc4
layouts: add support for configuring branches directory
David Schleimer <dschleimer@fb.com>
parents:
diff
changeset
|
39 echo "You might want to clean up ${PWD} now" |