MarcWeber / vim-addon-manager

manage and install vim plugins (including their dependencies) in a sane way. If you have any trouble contact me. Usually I reply within 24 hours
Other
660 stars 59 forks source link

version locking #152

Open MarcWeber opened 10 years ago

MarcWeber commented 10 years ago

version locking - people want it - should we add a new key to repositories such as "tag" or "hash" ? This conflicts with shallow clones eventually https://github.com/gmarik/Vundle.vim/issues/253

MarcWeber commented 10 years ago

Status update: Version locking could be implemented now that dictionaries get passed to the checkout functions. See a59d51736ce. Thus implementing this is as simple as teaching VAM about appropriate commands and defining how VAM should behave exactly.

ZyX-I commented 10 years ago

It is better to use keyword revision or changeset. It then can refer to tag, hash, branch, bookmark or any other revspec and usually nothings changes if you want to lock on specific branch and not on specific tag. Also add keyword update which may be set to zero (False).