From ae5b370c9bbc161c68059cea7d9f7eb5b556e050 Mon Sep 17 00:00:00 2001 From: Tuomas Suutari Date: Mon, 22 Feb 2010 09:57:20 +0200 Subject: [PATCH] t9151: Fix a few commits in the SVN dump A few "svn cp" commands and commit commands were executed in incorrect order. Therefore some of the desired commits were missing and some were committed with wrong revision number in the commit message. This made it hard to compare the produced git repository with the SVN repository. The dump file is updated too, but only the relevant parts and with hand-edited timestamps to make history linear. Signed-off-by: Tuomas Suutari Acked-by: Eric Wong --- t/t9151/make-svnmerge-dump | 6 +-- t/t9151/svn-mergeinfo.dump | 106 +++++++++++++++++++++++++------------ 2 files changed, 74 insertions(+), 38 deletions(-) diff --git a/t/t9151/make-svnmerge-dump b/t/t9151/make-svnmerge-dump index 3d73f140f..3168c7ce2 100644 --- a/t/t9151/make-svnmerge-dump +++ b/t/t9151/make-svnmerge-dump @@ -174,8 +174,8 @@ cd .. say "Make PARTIAL branch" svn update -i=$(commit $i "make partial branch") svn cp trunk/subdir branches/partial +i=$(commit $i "make partial branch") say "Make a commit to PARTIAL" svn update @@ -194,13 +194,13 @@ cd ../../ say "Tagging trunk" svn update -i=$(commit $i "tagging v1.0") svn cp trunk tags/v1.0 +i=$(commit $i "tagging v1.0") say "Branching BUGFIX from v1.0" svn update -i=$(commit $i "make bugfix branch from tag") svn cp tags/v1.0 branches/bugfix +i=$(commit $i "make bugfix branch from tag") say "Make a commit to BUGFIX" svn update diff --git a/t/t9151/svn-mergeinfo.dump b/t/t9151/svn-mergeinfo.dump index ebf386ebd..f22895804 100644 --- a/t/t9151/svn-mergeinfo.dump +++ b/t/t9151/svn-mergeinfo.dump @@ -1713,13 +1713,13 @@ Node-copyfrom-path: branches/left/subdir Revision-number: 27 -Prop-content-length: 118 -Content-length: 118 +Prop-content-length: 123 +Content-length: 123 K 7 svn:log -V 20 -(r28) partial update +V 25 +(r27) make partial branch K 10 svn:author V 3 @@ -1737,6 +1737,24 @@ Node-copyfrom-rev: 26 Node-copyfrom-path: trunk/subdir +Revision-number: 28 +Prop-content-length: 118 +Content-length: 118 + +K 7 +svn:log +V 20 +(r28) partial update +K 10 +svn:author +V 3 +adm +K 8 +svn:date +V 27 +2010-01-19T04:14:54.000000Z +PROPS-END + Node-path: branches/partial/palindromes Node-kind: file Node-action: add @@ -1750,7 +1768,7 @@ PROPS-END racecar -Revision-number: 28 +Revision-number: 29 Prop-content-length: 126 Content-length: 126 @@ -1771,15 +1789,15 @@ PROPS-END Node-path: trunk/subdir Node-kind: dir Node-action: change -Prop-content-length: 142 -Content-length: 142 +Prop-content-length: 145 +Content-length: 145 K 13 svn:mergeinfo -V 106 +V 109 /branches/left/subdir:2-25 /branches/left-sub/subdir:4-19 -/branches/partial:27 +/branches/partial:27-28 /branches/right/subdir:2-22 PROPS-END @@ -1787,20 +1805,20 @@ PROPS-END Node-path: trunk/subdir/palindromes Node-kind: file Node-action: add -Node-copyfrom-rev: 27 +Node-copyfrom-rev: 28 Node-copyfrom-path: branches/partial/palindromes Text-copy-source-md5: 5d1c2024fb5efc4eef812856df1b080c Text-copy-source-sha1: 5f8509ddd14c91a52864dd1447344e706f9bbc69 -Revision-number: 29 -Prop-content-length: 131 -Content-length: 131 +Revision-number: 30 +Prop-content-length: 116 +Content-length: 116 K 7 svn:log -V 33 -(r31) make bugfix branch from tag +V 18 +(r30) tagging v1.0 K 10 svn:author V 3 @@ -1814,18 +1832,18 @@ PROPS-END Node-path: tags/v1.0 Node-kind: dir Node-action: add -Node-copyfrom-rev: 28 +Node-copyfrom-rev: 29 Node-copyfrom-path: trunk -Revision-number: 30 -Prop-content-length: 120 -Content-length: 120 +Revision-number: 31 +Prop-content-length: 131 +Content-length: 131 K 7 svn:log -V 22 -(r32) commit to bugfix +V 33 +(r31) make bugfix branch from tag K 10 svn:author V 3 @@ -1833,16 +1851,34 @@ adm K 8 svn:date V 27 -2010-01-19T04:15:03.043218Z +2010-01-19T04:15:01.000000Z PROPS-END Node-path: branches/bugfix Node-kind: dir Node-action: add -Node-copyfrom-rev: 29 +Node-copyfrom-rev: 30 Node-copyfrom-path: tags/v1.0 +Revision-number: 32 +Prop-content-length: 120 +Content-length: 120 + +K 7 +svn:log +V 22 +(r32) commit to bugfix +K 10 +svn:author +V 3 +adm +K 8 +svn:date +V 27 +2010-01-19T04:15:02.000000Z +PROPS-END + Node-path: branches/bugfix/subdir/palindromes Node-kind: file Node-action: change @@ -1855,7 +1891,7 @@ racecar kayak -Revision-number: 31 +Revision-number: 33 Prop-content-length: 125 Content-length: 125 @@ -1876,35 +1912,35 @@ PROPS-END Node-path: trunk Node-kind: dir Node-action: change -Prop-content-length: 133 -Content-length: 133 +Prop-content-length: 137 +Content-length: 137 K 13 svn:mergeinfo -V 98 -/branches/bugfix:30 +V 101 +/branches/bugfix:31-32 /branches/left:2-25 /branches/left-sub:4-19 /branches/right:2-22 -/tags/v1.0:29 +/tags/v1.0:30 PROPS-END Node-path: trunk/subdir Node-kind: dir Node-action: change -Prop-content-length: 190 -Content-length: 190 +Prop-content-length: 196 +Content-length: 196 K 13 svn:mergeinfo -V 154 -/branches/bugfix/subdir:30 +V 160 +/branches/bugfix/subdir:31-32 /branches/left/subdir:2-25 /branches/left-sub/subdir:4-19 -/branches/partial:27 +/branches/partial:27-28 /branches/right/subdir:2-22 -/tags/v1.0/subdir:29 +/tags/v1.0/subdir:30 PROPS-END -- 2.30.2