Mercurial > vim-lawrencium
changeset 121:5168645017dd
Check for `.hg` directory instead of `.hg/store`.
This fixes problems with repositories shared with the `share` extension.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 05 Oct 2015 23:51:42 -0700 |
parents | a290dc47e534 |
children | a9136d95cf47 |
files | plugin/lawrencium.vim |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugin/lawrencium.vim Mon Oct 05 22:56:31 2015 -0700 +++ b/plugin/lawrencium.vim Mon Oct 05 23:51:42 2015 -0700 @@ -134,7 +134,7 @@ let l:path = s:stripslash(a:path) let l:previous_path = "" while l:path != l:previous_path - if isdirectory(l:path . '/.hg/store') + if isdirectory(l:path . '/.hg') return s:normalizepath(simplify(fnamemodify(l:path, ':p'))) endif let l:previous_path = l:path