Commits

ZyX_I committed 19aa131

@aurum: Fixed :AuH rev handling

  • Participants
  • Parent commits aabf1d8

Comments (0)

Files changed (1)

File plugin/aurum.vim

         call s:_r.cmdutils.checkrepo(repo)
         if utype is# 'bundle' || utype is# 'changeset' || utype is# 'log'
             if has_key(a:opts, 'rev')
+                let hex=repo.functions.getrevhex(repo, a:opts.rev)
+            else
                 let hex=repo.functions.getworkhex(repo)
-            else
-                let hex=repo.functions.getrevhex(repo, a:opts.rev)
             endif
         endif
     endif