Source

aurum / autoload / aurum / drivers / subversion.vim

The branch 'bzr-support' does not exist.
Diff from to

autoload/aurum/drivers/subversion.vim

             \           'after “====<…>====” separator line',
             \ 'punimp': 'Cannot “pull” from non-default location',
             \'pulnimp': 'Cannot pull: use update instead',
+            \'aconimp': 'Can only get current status for one file',
         \}
 let s:svn={}
 let s:iterfuncs={}
                 \                                     a:opts.revrange[1]))
     return {'cslist': cslist, 'next': s:F.ancestorsnext}
 endfunction
+"▶1 astatus, agetcs, agetrepoprop
+if s:_r.repo.userepeatedcmd
+    try
+        python import aurum.rcdriverfuncs
+        let s:addafuncs=1
+    catch
+        let s:addafuncs=0
+    endtry
+    if s:addafuncs
+        function s:svn.astatus(repo, interval, ...)
+            if a:0<3 || a:1 isnot 0 || a:2 isnot 0 ||
+                        \type(a:3)!=type([]) || len(a:3)!=1
+                call s:_f.throw('aconimp')
+            endif
+            return pyeval('aurum.repeatedcmd.new('.string(a:interval).', '.
+                        \       'aurum.rcdriverfuncs.svn_status, '.
+                        \       'vim.eval("a:repo.path"), '.
+                        \       'vim.eval("a:3[0]"))')
+        endfunction
+    endif
+endif
 "▶1 Register driver
 call s:_f.regdriver('Subversion', s:svn)
 "▶1