1. ZyX_I
  2. aurum

Commits

ZyX_I  committed cc03617

@%aurum/drivers/bzr: Some rf-commit() fixes

  • Participants
  • Parent commits ebd9480
  • Branches bzr-support

Comments (0)

Files changed (1)

File autoload/aurum/drivers/bazaar.vim

View file
             \     'tagf': 'Failed to list tags in the repository %s: %s',
             \    'pushf': 'Failed to push the repository %s: %s',
             \    'pullf': 'Failed to pull to the repository %s: %s',
+            \  'commitf': 'Failed to commit changes to the repository %s: %s',
             \  'p_empty': 'Parser error: expected 60 dashes, but got nothing',
             \  'p_nobeg': 'Parser error: expected 60 dashes, but got %s',
             \ 'p_nospec': 'Parser error: expected “spec: value”, but got %s',
             let kwargs.author=a:2
         endif
         if a:0>2 && !empty(a:3)
-            let kwargs.date=a:3
+            let kwargs['commit-time']=a:3.' +0000'
         endif
         if a:0>3 && !empty(a:4)
             call s:_f.throw('cbnimp')
         endif
-    else
-        let kwargs.all=1
     endif
     return s:_r.utils.usefile(a:repo, a:message, 'file', 'message',
-                \             s:F.bzrm, args, kwargs, 0, 'cif')
+                \             s:F.bzrm, args, kwargs, 0, 'commitf')
 endfunction
 "▶1 bzr.branch :: repo, branchname, force → + FS
 function s:bzr.branch(repo, branch, force)