aurum / autoload / aurum / other.vim

Diff from to


 scriptencoding utf-8
-execute frawor#Setup('0.0', {'@aurum': '1.0',
-            \      '@%aurum/cmdutils': '4.0',
-            \                  '@/os': '0.0',})
-function s:cmd.function(bang, action, rev, url, repopath)
+execute frawor#Setup('0.0', {'@%aurum/cmdutils': '4.3',
+            \                     '@/functions': '0.1',
+            \                           '@/fwc': '0.0',
+            \                            '@/os': '0.0',})
+let s:pushactions=['push', 'outgoing']
+let s:pullactions=['pull', 'incoming']
+let s:ppactions=s:pushactions+s:pullactions
+let s:_aufunctions.cmd={'@FWC': ['-onlystrings _ '.
+            \'in ppactions ~ smart '.
+            \'[:":" '.s:_r.cmdutils.comp.rev.
+            \'[:":" '.s:_r.cmdutils.comp.file.
+            \'['.     s:_r.cmdutils.comp.repo.']]]', 'filter']}
+let s:_aufunctions.comp=s:_r.cmdutils.gencompfunc(s:_aufunctions.cmd['@FWC'][0],
+            \                                     [], s:_f.fwc.compile)
+function s:_aufunctions.cmd.function(bang, action, rev, url, repopath)
     let repo=s:_r.cmdutils.checkedgetrepo(a:repopath)
     if a:url isnot# ':' && stridx(a:url, '://')==-1 && isdirectory(a:url)
         let url=s:_r.os.path.realpath(a:url)
         let url=a:url
-    let key=((index(s:_r.otheractions.push, a:action)==-1)?('pull'):('push'))
+    let key=((index(s:pushactions, a:action)==-1)?('pull'):('push'))
     return repo.functions[key](repo, (a:action[0] isnot# 'p'), a:bang,
                 \              ((  url is# ':')?(0):(  url)),
                 \              ((a:rev is# ':')?(0):(a:rev)))
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
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.