Mercurial > hgsubversion
comparison tests/fixtures/most-recent-is-edit-tag.sh @ 474:63cb630d667d
tags: handle the most recent commit being an edit to an svn tag properly
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sat, 18 Jul 2009 22:30:59 -0500 |
parents | tests/fixtures/unusual_tags.sh@a441ba143ac8 |
children |
comparison
equal
deleted
inserted
replaced
473:45df4d9320fa | 474:63cb630d667d |
---|---|
1 #!/bin/sh | |
2 mkdir temp | |
3 cd temp | |
4 svnadmin create repo | |
5 svn co file://`pwd`/repo wc | |
6 cd wc | |
7 mkdir branches trunk tags | |
8 mkdir tags/versions | |
9 mkdir tags/blah | |
10 svn add * | |
11 svn ci -m 'btt' | |
12 cd trunk | |
13 for a in alpha beta gamma delta ; do | |
14 echo $a > $a | |
15 svn add $a | |
16 done | |
17 svn ci -m 'Add files.' | |
18 cd .. | |
19 svn up | |
20 svn cp trunk branches/dev_branch | |
21 svn ci -m 'branch' | |
22 cd branches/dev_branch | |
23 svn rm delta | |
24 echo narf > alpha | |
25 echo iota > iota | |
26 svn add iota | |
27 svn ci -m 'branch changes' | |
28 cd ../.. | |
29 svn up | |
30 svn cp branches/dev_branch tags/some-tag | |
31 svn ci -m 'Make a tag.' | |
32 svn up | |
33 echo foo > tags/some-tag/alpha | |
34 svn ci -m 'edit that tag' | |
35 cd ../.. | |
36 svnadmin dump temp/repo > most-recent-is-edit-tag.svndump | |
37 echo | |
38 echo 'Complete.' | |
39 echo 'You probably want to clean up temp now.' | |
40 echo 'Dump in most-recent-is-edit-tag.svndump' | |
41 exit 0 |