-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Closed
Copy link
Labels
Description
Version Information
Cmder version: 1.3.21
Operating system: Windows 10, Version 22H2 (build 19045.2846)Cmder Edition
Cmder Full (with Git)
Description of the issue
I had an old mercurial repo from a backup and when I entered that directory, the prompt function failed since I didn't have mercurial installed on my new machine.
How to reproduce
C:\tmp
λ mkdir hgtest
C:\tmp
λ cd hgtest\
C:\tmp\hgtest
λ hg init
C:\tmp\hgtest (default)
λ scoop uninstall mercurial
Uninstalling 'mercurial' (6.3.1).
Removing shim 'hg.shim'.
Removing shim 'hg.exe'.
Unlinking ~\scoop\apps\mercurial\current
'mercurial' was uninstalled.
prompt filter failed:
...rs\mheden\scoop\apps\cmder-full\current\vendor\clink.lua:552: attempt to get length of local 'output' (a boolean value)
stack traceback:
...rs\mheden\scoop\apps\cmder-full\current\vendor\clink.lua:552: in function '?'
{prompt.lua}: in function <{prompt.lua}:223>
{prompt.lua}: in function <{prompt.lua}:71>
[C]: in function 'xpcall'
{prompt.lua}: in function <{prompt.lua}:53>
(...tail calls...)It looks likte it has to do with clink so maybe the issue should go there but when I run clink standalone I don't get any branch information so I don't know how to get the error there.
Additional context
No response
Checklist
- I have read the documentation.
- I have searched for similar issues and found none that describe my issue.
- I have reproduced the issue on the latest version of Cmder.
- I am certain my issues are not related to ConEmu, Clink, or other third-party tools that Cmder uses.