1. ZyX_I
  2. aurum

Source

aurum / autoload / aurum / drivers / subversion.vim

Diff from to

File autoload/aurum/drivers/subversion.vim

  • Ignore whitespace
             \    'cif': 'Failed to commit changes to the repository %s: %s',
             \   'updf': 'Failed to update to revision %s '.
             \           'in the repository %s: %s',
+            \  'pullf': 'Failed to update repository %s: %s',
             \    'mvf': 'Failed to move file %s to %s in the repository %s: %s',
             \    'cpf': 'Failed to copy file %s to %s in the repository %s: %s',
             \    'rmf': 'Failed to remove file %s in the repository %s: %s',
         if type(a:1)==type(0)
             let kwargs.limit=''.a:1
         else
-            let kwargs.revision=a:1
+            let kwargs.revision=''.a:1
         endif
     elseif a:0==2
         let kwargs.revision=a:1.':'.a:2
         let kwargs.force=1
         let kwargs.accept='theirs-full'
     endif
-    let kwargs.revision=a:rev
+    let kwargs.revision=''.a:rev
     return s:F.svnm(a:repo, 'update', [], kwargs, 0, 'updf', a:rev)
 endfunction
 "▶1 svn.move :: repo, force, source, destination → + FS
     if a:dryrun
         return s:F.svnm(a:repo, 'log', [], {'revision': 'HEAD:BASE'}, 0)
     else
-        call s:_f.throw('pulnimp')
+        return s:F.svnm(a:repo, 'update', [], {'force': a:force}, 0, 'pullf')
     endif
 endfunction
 "▶1 svn.repo :: path → repo