Mercurial > vim-lawrencium
comparison plugin/lawrencium.vim @ 136:90f8d4bf4fa7
Merge pull request #12 from GitHub.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 19 Apr 2016 21:30:42 -0700 |
parents | 0e005903aae4 48f4124af78d |
children | a2d823c82e5f |
comparison
equal
deleted
inserted
replaced
134:0e005903aae4 | 136:90f8d4bf4fa7 |
---|---|
355 let l:prev_shellslash = &shellslash | 355 let l:prev_shellslash = &shellslash |
356 setlocal noshellslash | 356 setlocal noshellslash |
357 let l:hg_command = g:lawrencium_hg_executable . ' --repository ' . shellescape(s:stripslash(self.root_dir)) | 357 let l:hg_command = g:lawrencium_hg_executable . ' --repository ' . shellescape(s:stripslash(self.root_dir)) |
358 let l:hg_command = l:hg_command . ' ' . a:command | 358 let l:hg_command = l:hg_command . ' ' . a:command |
359 for l:arg in l:arg_list | 359 for l:arg in l:arg_list |
360 let l:hg_command = l:hg_command . ' ' . shellescape(l:arg) | 360 let l:hg_command = l:hg_command . ' ' . shellescape(l:arg) |
361 endfor | 361 endfor |
362 if l:prev_shellslash | 362 if l:prev_shellslash |
363 setlocal shellslash | 363 setlocal shellslash |
364 endif | 364 endif |
365 return l:hg_command | 365 return l:hg_command |