Commits

ZyX_I committed c11f129

tests: Added more commits to svntestrepo

  • Participants
  • Parent commits b446f5a
  • Branches svnsupport

Comments (0)

Files changed (4)

File test/createsvnrepo.zsh

 #!/bin/zsh
 export TZ=UTC
 svnadmin create svntestreposerver
+# tar -xJf svntestreposerver.tar.xz
 svn checkout file://$PWD/svntestreposerver svntestrepo
 cd svntestrepo
 
 Added subdir2, subdir2/stu"
 perl -p -i -e 's/Fourth/4’th/' file-under-svn-control
 svn commit -m 'Replaced “Fourth” with “4’th”'
+cd subdir
+> file-2 << EOF
+Line 1
+First line
+Seventh line
+Second line
+EOF
+svn add file-2
+svn commit --message 'Added file-2'
+perl -p -i -e 's/Line 1/Zero line/; s/Second line/Third line/;' file-2
+svn commit --message 'Replace “Line 1” with “Zero line”'
+cd ..
+echo '9’th line' >> file-under-svn-control
+svn commit --message 'Added 9’th line to file-under-svn-control'
+cd subdir
+perl -p -i -e 's/Seventh line/Second line/' file-2
+svn commit --message 'Fix: s/Seventh/Second/'
+cd ..
 
 cd ..
 tar -cJvf svntestreposerver.tar.xz svntestreposerver

File test/drivers-subversion.in

 :W{{{1 Grep: working directory
 :Run! AuGrep W repo ./svntestrepo/ | cwindow
 :cclose
-:W{{{1 Grep: working directory, ignore case
-:Run! AuGrep W ignorecase repo ./svntestrepo/ | cwindow
-:cclose
-:W{{{1 Grep: 6
+:W{{{1 Grep: HEAD
 :let repo=aurum#repository()
-:Run! AuGrep W revision 6 repo ./svntestrepo/ | cwindow
+:Run! AuGrep W revision HEAD repo ./svntestrepo/ | cwindow
 :cclose
 :W{{{1 Junk: ignore, ignoreglob
 :write! ./svntestrepo/file.vim

File test/drivers-subversion.ok

 {{{1 Annotate
 3 Added --force                   / zyx
 {{{1 Log: everything
-@  Changeset 5:5
+@  Changeset 9:9
+|  Commited 29 Янв 2012 10:09 by zyx
+|  Files: subdir/file-2
+|  @ Fix: s/Seventh/Second/
+|  $  subdir/file-2 | 1 1
+|  $1 files changed, 1 insertions, 1 deletions
+|  :Index: subdir/file-2
+|  :===================================================================
+|  :--- subdir/file-2	(revision 8)
+|  :+++ subdir/file-2	(revision 9)
+|  :@@ -1,4 +1,4 @@
+|  : Zero line
+|  : First line
+|  :-Seventh line
+|  :+Second line
+|  : Third line
+|  
+o  Changeset 8:8
+|  Commited 29 Янв 2012 10:09 by zyx
+|  Files: file-under-svn-control
+|  @ Added 9’th line to file-under-svn-control
+|  $  file-under-svn-control | 1 0
+|  $1 files changed, 1 insertions, 0 deletions
+|  :Index: file-under-svn-control
+|  :===================================================================
+|  :--- file-under-svn-control	(revision 7)
+|  :+++ file-under-svn-control	(revision 8)
+|  :@@ -5,3 +5,4 @@
+|  : Fifth line
+|  : Sixth line
+|  : Seventh line
+|  :+9’th line
+|  
+o  Changeset 7:7
+|  Commited 29 Янв 2012 10:09 by zyx
+|  Files: subdir/file-2
+|  @ Replace “Line 1” with “Zero line”
+|  $  subdir/file-2 | 2 2
+|  $1 files changed, 2 insertions, 2 deletions
+|  :Index: subdir/file-2
+|  :===================================================================
+|  :--- subdir/file-2	(revision 6)
+|  :+++ subdir/file-2	(revision 7)
+|  :@@ -1,4 +1,4 @@
+|  :-Line 1
+|  :+Zero line
+|  : First line
+|  : Seventh line
+|  :-Second line
+|  :+Third line
+|  
+o  Changeset 6:6
+|  Commited 29 Янв 2012 10:09 by zyx
+|  Files: subdir/file-2
+|  @ Added file-2
+|  $  subdir/file-2 | 4 0
+|  $1 files changed, 4 insertions, 0 deletions
+|  :Index: subdir/file-2
+|  :===================================================================
+|  :--- subdir/file-2	(revision 0)
+|  :+++ subdir/file-2	(revision 6)
+|  :@@ -0,0 +1,4 @@
+|  :+Line 1
+|  :+First line
+|  :+Seventh line
+|  :+Second line
+|  
+o  Changeset 5:5
 |  Commited 08 Янв 2012 20:45 by zyx
 |  Files: file-under-svn-control
 |  @ Replaced “Fourth” with “4’th”
 A mno
 A subdir2/stu
 A subdir/pqr
+A subdir/file-2
 A new-file
 M file-under-svn-control
 {{{1 Status: relative to other (2)
 R mno
 R subdir2/stu
 R subdir/pqr
+R subdir/file-2
 R new-file
 {{{1 Status: between two revisions
 M file-under-svn-control
 R ghi
 R --force
 R subdir/pqr
+R subdir/file-2
 R mno
 R subdir2/stu
 R def
 {{{1 Commit
 W In file newfile.vim
-o  Changeset 6
+o  Changeset 10
 |  @ Added newfile.vim
 {{{1 Commit 2
 
 # Modified newfile.vim
-o  Changeset 7
+o  Changeset 11
 |  @ Added second line to newfile.vim
 |  @ // It was not required really
 {{{1 Update
 Fifth line
 Sixth line
 Seventh line
+9’th line
 {{{1 Move
-o  Changeset 8
+o  Changeset 12
 |  Renamed --force to -f
 |  @ Moved --force to -f
 {{{1 Move: copy
-o  Changeset 9
+o  Changeset 13
 |  Copied -f to --force
 |  @ Copied -f to --force
 {{{1 Junk: forget, remove
 11
 10
-o  Changeset 10
+o  Changeset 14
 |  @ Removed --force
 {{{1 Grep: working directory
 svntestrepo/newfile.vim|1| W In file newfile.vim
 svntestrepo/newfile.vim|2| W File newfile.vim, second line
-{{{1 Grep: working directory, ignore case
-svntestrepo/newfile.vim|1| W In file newfile.vim
-svntestrepo/newfile.vim|2| W File newfile.vim, second line
-{{{1 Grep: 6
-aurum://file:%ETMPDIR%%-test%-svntestrepo:6:newfile.vim|1| W In file newfile.vim
+{{{1 Grep: HEAD
+aurum://file:%ETMPDIR%%-test%-svntestrepo:14:newfile.vim|1| W In file newfile.vim
+aurum://file:%ETMPDIR%%-test%-svntestrepo:14:newfile.vim|2| W File newfile.vim, second line
 {{{1 Junk: ignore, ignoreglob
 {{{2 Status before junk
 ? ignoredfile.vim

File test/svntestreposerver.tar.xz

Binary file modified.