Show More
@@ -635,13 +635,16 b' function! HGGetStatusLine()' | |||
|
635 | 635 | |
|
636 | 636 | if exists('b:HGRevision') |
|
637 | 637 | \ && b:HGRevision != '' |
|
638 | \ && exists('b:HGBranch') | |
|
639 | \ && b:HGBranch != '' | |
|
640 | 638 | \ && exists('b:HGRepository') |
|
641 | 639 | \ && b:HGRepository != '' |
|
642 | 640 | \ && exists('g:HGCommandEnableBufferSetup') |
|
643 | 641 | \ && g:HGCommandEnableBufferSetup |
|
644 | return '[HG ' . b:HGRepository . '/' . b:HGBranch .'/' . b:HGRevision . ']' | |
|
642 | if !exists('b:HGBranch') | |
|
643 | let l:branch='' | |
|
644 | else | |
|
645 | let l:branch=b:HGBranch | |
|
646 | endif | |
|
647 | return '[HG ' . b:HGRepository . '/' . l:branch .'/' . b:HGRevision . ']' | |
|
645 | 648 | else |
|
646 | 649 | return '' |
|
647 | 650 | endif |
General Comments 0
You need to be logged in to leave comments.
Login now