Did brew upgrade yesterday and ran into at least two issues which make it a bit hard to use.
Issue 1: sl pull exits 255
Potential root cause: The post-pull prmarker hook (sapling.ext.github.pr_marker.cleanup_landed_pr_hook) spawns gh with a sanitized PATH (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin) that excludes /home/linuxbrew/.linuxbrew/bin where gh actually lives. Every draft commit's PR lookup raises FileNotFoundError, the hook returns 255, and sl pull propagates that.
Temporary workaround: apply in ~/.config/sapling/sapling.conf:
[github]
hide-landed-commits = false
Issue 2: sl metaedit doesn't work
It opens an editor as usual, but once I make edits, save and quit the editor, it exits again with 255, and the changes are not preserved. Might be related to munmap-segv-example/README.md but I don't know.
Did
brew upgradeyesterday and ran into at least two issues which make it a bit hard to use.Issue 1:
sl pullexits 255Potential root cause: The post-pull
prmarkerhook (sapling.ext.github.pr_marker.cleanup_landed_pr_hook) spawnsghwith a sanitized PATH (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin) that excludes/home/linuxbrew/.linuxbrew/binwhereghactually lives. Every draft commit's PR lookup raisesFileNotFoundError, the hook returns 255, andsl pullpropagates that.Temporary workaround: apply in
~/.config/sapling/sapling.conf:Issue 2:
sl metaeditdoesn't workIt opens an editor as usual, but once I make edits, save and quit the editor, it exits again with 255, and the changes are not preserved. Might be related to
munmap-segv-example/README.mdbut I don't know.