You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ar...@apache.org on 2010/09/20 06:36:01 UTC

svn commit: r998779 - in /subversion/trunk/subversion/tests/cmdline: svnrdump_tests.py svnrdump_tests_data/tag-empty-trunk.dump

Author: artagnon
Date: Mon Sep 20 04:36:01 2010
New Revision: 998779

URL: http://svn.apache.org/viewvc?rev=998779&view=rev
Log:
* subversion/tests/cmdline/svnrdump_tests_data/tag-empty-trunk.dump:
  Add new test data from svnsync_tests_data after converting the
  dumpfile from v2 to v3 for svnrdump.
* subversion/tests/cmdline/svnrdump_tests.py
  (tag_empty_trunk_dump, tag_empty_trunk_load): Add a couple of tests
  to use the added test data.
  (test_list): Run the added tests and mark them as passing.

Added:
    subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/tag-empty-trunk.dump
Modified:
    subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py

Modified: subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py?rev=998779&r1=998778&r2=998779&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svnrdump_tests.py Mon Sep 20 04:36:01 2010
@@ -207,6 +207,14 @@ def move_and_modify_in_the_same_revision
   "dump: move parent & modify child file in same rev"
   run_dump_test(sbox, "move-and-modify.dump")
 
+def tag_empty_trunk_dump(sbox):
+  "dump: tag empty trunk"
+  run_dump_test(sbox, "tag-empty-trunk.dump")
+
+def tag_empty_trunk_load(sbox):
+  "load: tag empty trunk"
+  run_load_test(sbox, "tag-empty-trunk.dump")
+
 ########################################################################
 # Run the tests
 
@@ -223,6 +231,8 @@ test_list = [ None,
               copy_from_previous_version_and_modify_load,
               modified_in_place_dump,
               modified_in_place_load,
+              tag_empty_trunk_dump,
+              tag_empty_trunk_load,
               no_author_dump,
               no_author_load,
               Wimp("TODO", move_and_modify_in_the_same_revision_dump),

Added: subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/tag-empty-trunk.dump
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/tag-empty-trunk.dump?rev=998779&view=auto
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/tag-empty-trunk.dump (added)
+++ subversion/trunk/subversion/tests/cmdline/svnrdump_tests_data/tag-empty-trunk.dump Mon Sep 20 04:36:01 2010
@@ -0,0 +1,75 @@
+SVN-fs-dump-format-version: 3
+
+UUID: c38a9451-c504-0410-b613-a343b2d5fd66
+
+Revision-number: 0
+Prop-content-length: 56
+Content-length: 56
+
+K 8
+svn:date
+V 27
+2005-11-04T23:03:50.600647Z
+PROPS-END
+
+Revision-number: 1
+Prop-content-length: 105
+Content-length: 105
+
+K 10
+svn:author
+V 6
+rooneg
+K 8
+svn:date
+V 27
+2005-11-04T23:04:15.060966Z
+K 7
+svn:log
+V 5
+setup
+PROPS-END
+
+Node-path: tags
+Node-kind: dir
+Node-action: add
+Prop-content-length: 10
+Content-length: 10
+
+PROPS-END
+
+
+Node-path: trunk
+Node-kind: dir
+Node-action: add
+Prop-content-length: 10
+Content-length: 10
+
+PROPS-END
+
+
+Revision-number: 2
+Prop-content-length: 106
+Content-length: 106
+
+K 10
+svn:author
+V 6
+rooneg
+K 8
+svn:date
+V 27
+2005-11-04T23:04:32.222710Z
+K 7
+svn:log
+V 6
+tag it
+PROPS-END
+
+Node-path: tags/an-empty-tag
+Node-kind: dir
+Node-action: add
+Node-copyfrom-rev: 1
+Node-copyfrom-path: trunk
+
+