$ sudo apt install mercurial
$ sudo apt install s3fs
mercurialはsnapでインストールすると,cannot open path of the current working directory: Permission deniedというエラーが出てWasabiに書き込めなかった.

goofysをwasabiで使ってみた
ソースからビルドしようかと思ったが,何故かビルドでコケるのでバイナリを使った.

$ mkdir ~/.aws
$ vim ~/.aws/credentials
[wasabi]
aws_access_key_id = accesskey
aws_secret_access_key = sercretkey
$ ./goofys --profile wasabi --endpoint https://s3.us-west-1.wasabisys.com [バケット名] [マウント先]
マウントしたディレクトリでmercurialを動かそうとしたら,リンク系を使おうとしてコケるっぽい.残念.
$ cat /var/log/syslog
Jun  5 20:59:43 mercurial /home/mercurial/goofys[1147]: fuse.ERROR *fuseops.CreateSymlinkOp error: function not implemented
Jun  5 20:59:44 mercurial /home/mercurial/goofys[1147]: fuse.ERROR *fuseops.CreateSymlinkOp error: function not implemented
Jun  5 20:59:51 mercurial /home/mercurial/goofys[1147]: fuse.ERROR *fuseops.ReadFileOp error: no such file or directory
Jun  5 20:59:56 mercurial /home/mercurial/goofys[1147]: message repeated 31 times: [ fuse.ERROR *fuseops.ReadFileOp error: no such file or directory]
Jun  5 20:59:57 mercurial /home/mercurial/goofys[1147]: fuse.ERROR *fuseops.CreateLinkOp error: function not implemented
Jun  5 21:01:57 mercurial /home/mercurial/goofys[1147]: fuse.ERROR *fuseops.ReadFileOp error: no such file or directory
Jun  5 21:01:57 mercurial /home/mercurial/goofys[1147]: message repeated 2 times: [ fuse.ERROR *fuseops.ReadFileOp error: no such file or directory]