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