changeset 103:bc6003e7159e

Fix stupid typo, make sure paths are normalized.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 05 Aug 2014 17:12:22 -0700
parents afcd66edd6cc
children 518a6b2eff56
files plugin/lawrencium.vim
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugin/lawrencium.vim	Tue Aug 05 17:11:03 2014 -0700
+++ b/plugin/lawrencium.vim	Tue Aug 05 17:12:22 2014 -0700
@@ -297,9 +297,9 @@
 function! s:HgRepo.GetFullPath(path) abort
     let l:root_dir = self.root_dir
     if s:isabspath(a:path)
-        call s:throw("Expected relative path, got absolute path: " . a:path)`
+        call s:throw("Expected relative path, got absolute path: " . a:path)
     endif
-    return l:root_dir . a:path
+    return s:normalizepath(l:root_dir . a:path)
 endfunction
 
 " Gets a repo-relative path given any path.