speedup hg with chg
This commit is contained in:
@ -13,10 +13,10 @@ let g:signify_vcs_cmds = {
|
||||
\ 'git': '%s',
|
||||
\ 'rcs': '%s',
|
||||
\ 'svn': '%s',
|
||||
\ 'hg': 'hg diff %s',
|
||||
\ 'hg': 'chg diff %s',
|
||||
\ }
|
||||
let g:signify_vcs_cmds_diffmode = {
|
||||
\ 'hg': 'hg cat %s',
|
||||
\ 'hg': 'chg cat %s',
|
||||
\ }
|
||||
]],
|
||||
git_cmd,
|
||||
|
@ -29,11 +29,11 @@ local function exe(cmd)
|
||||
end
|
||||
|
||||
function fig_modified()
|
||||
return exe("hg pstatus -ma -n --no-status --template= | sort")
|
||||
return exe("chg pstatus -ma -n --no-status --template= | sort")
|
||||
end
|
||||
|
||||
function fig_all_modified()
|
||||
return exe("hg status -ma -n --rev p4base --no-status --template= | sort")
|
||||
return exe("chg status -ma -n --rev p4base --no-status --template= | sort")
|
||||
end
|
||||
|
||||
-- stylua: ignore
|
||||
|
Reference in New Issue
Block a user