aurum / test / drivers-subversion.in

:let g:curtest='svntest'
:let g:tipname='HEAD'
:let g:testedfile='svntestrepo/file-under-svn-control'
:command -nargs=0 WTF call WriteFile(readfile(g:testedfile, 'b'))
:W{{{1 Annotate
:Run! AuAnnotate file ./svntestrepo/--force | wincmd w
:bwipeout!
:bwipeout!
:W{{{1 Log: everything
:Run! AuLog ./svntestrepo/ stat patch showfiles showrenames showcopies
:bwipeout!
:W{{{1 Status: current
:W{{{1 Status: relative to other (1)
:W{{{1 Status: relative to other (2)
:W{{{1 Status: between two revisions
:Run! AuStatus ./svntestrepo/ rev HEAD wdrev 2
:bwipeout!
:W{{{1 Commit
:edit ./svntestrepo/newfile.vim
iW In file newfile.vim:write
:Run! AuCommit message Added\ newfile.vim type unknown ./svntestrepo/newfile.vim
:WT
:W{{{1 Commit 2
oW File newfile.vim, second line:write
:Run! AuCommit
Added second line to newfile.vim
// It was not required really:write
:WT
:W{{{1 Update
:AuUpdate 3 ./svntestrepo/
:WTF
:W{{{1 Update: force
:write! ./svntestrepo/file-under-svn-control
:AuUpdate! 4 ./svntestrepo/
:WTF
:W{{{1 Update: to tip
:R AuUpdate
:WTF
:W{{{1 Move
:AuMove ./svntestrepo/--force ./svntestrepo/-f
:AuCommit message Moved\ --force\ to\ -f repo ./svntestrepo/ all
:WTa showrenames showcopies
:W{{{1 Move: copy
:AuMove copy ./svntestrepo/-f ./svntestrepo/--force
:AuCommit message Copied\ -f\ to\ --force repo ./svntestrepo/ all
:WTa showrenames showcopies
:W{{{1 Junk: forget, remove
:call WriteFile(filereadable('./svntestrepo/-f').filereadable('./svntestrepo/--force'))
:AuJunk forget ./svntestrepo/-f
:AuJunk remove ./svntestrepo/--force
:call WriteFile(filereadable('./svntestrepo/-f').filereadable('./svntestrepo/--force'))
:AuCommit ./svntestrepo/**
ggddGld:write
:WT
: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
:let repo=aurum#repository()
:Run! AuGrep W revision 6 repo ./svntestrepo/ | cwindow
:cclose
:W{{{1 Junk: ignore, ignoreglob
:write! ./svntestrepo/file.vim
:write! ./svntestrepo/subdir/file.vim
:write! ./svntestrepo/ignoredfile.vim
:write! ./svntestrepo/ignoredfile2.vim
:W{{{2 Status before junk
:Run! AuStatus ./svntestrepo/
:AuJunk ignore ./svntestrepo/subdir/file.vim
:AuJunk ignoreglob ./svntestrepo/ignored*
:W{{{2 Status after junk
:Run! AuStatus ./svntestrepo/
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.