diff 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
line wrap: on
line diff
copy from tests/fixtures/unusual_tags.sh
copy to tests/fixtures/most-recent-is-edit-tag.sh
--- a/tests/fixtures/unusual_tags.sh
+++ b/tests/fixtures/most-recent-is-edit-tag.sh
@@ -27,16 +27,15 @@ svn add iota
 svn ci -m 'branch changes'
 cd ../..
 svn up
-svn cp branches/dev_branch tags/versions/branch_version
-svn ci -m 'Make a tag in tags/versions from branches/dev_branch'
-svn up
-svn cp trunk tags/blah/trunktag
-svn ci -m 'Make a tag in tags/blah from trunk'
+svn cp branches/dev_branch tags/some-tag
+svn ci -m 'Make a tag.'
 svn up
+echo foo > tags/some-tag/alpha
+svn ci -m 'edit that tag'
 cd ../..
-svnadmin dump temp/repo > unusual_tags.svndump
+svnadmin dump temp/repo > most-recent-is-edit-tag.svndump
 echo
 echo 'Complete.'
 echo 'You probably want to clean up temp now.'
-echo 'Dump in unusual_tags.svndump'
+echo 'Dump in most-recent-is-edit-tag.svndump'
 exit 0