Commits

ZyX_I committed f3a2107

@aurum/edit: Fixed *WriteCmd support
tests: Added :write aurum://commit tests

Comments (0)

Files changed (3)

plugin/aurum/edit.vim

     if a:rw<0
         call call(cdescr.write, [call('getline', ((a:rw==-1)?([ 1,   '$' ]):
                     \                                        (["'[", "']"])))]+
-                    \                            args)
+                    \                            args, {})
     else
         let args=[a:rw]+args
         if a:rw==0
 :source aurum://file:cmdausrepo:-2:newfile.vim
 :W{{{2 revision tip
 :source aurum://file:cmdausrepo:tip:newfile.vim
+:W{{{1 write
+:W{{{2 :write aurum://commit
+:silent write aurum://commit:cmdausrepo::::addeddef
+:WT
+:W{{{2 :1write aurum://commit
+:silent 1write aurum://commit:cmdausrepo::::hglines2.lst
+:WT
 :source addmessages.vim

test/cmdaus.ok

Binary file modified.