From 5fab87f4d64170a75436fe5702fdd47619341b37 Mon Sep 17 00:00:00 2001 From: Chris Antos Date: Mon, 15 May 2023 09:18:47 -0700 Subject: [PATCH] Remove unused function. The `get_hg_status()` function has been unused since commit 35eab7a51a1ac4294df9861ff2fe5f40e94e0218 in 2018. --- vendor/clink.lua | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/vendor/clink.lua b/vendor/clink.lua index 86cbcf9..486426b 100644 --- a/vendor/clink.lua +++ b/vendor/clink.lua @@ -393,21 +393,6 @@ local function get_git_status() return { status = is_status, conflict = conflict_found } end ---- --- Get the status of working dir --- @return {bool} ---- -local function get_hg_status() - local file = io.popen("hg status -0") - for line in file:lines() do - file:close() - return false - end - file:close() - - return true -end - --- -- Get the status of working dir -- @return {bool}