orbitalquark / textadept

Textadept is a fast, minimalist, and remarkably extensible cross-platform text editor for programmers.
https://orbitalquark.github.io/textadept
MIT License
624 stars 38 forks source link

Support Fossil on non-Windows Systems #528

Closed eric1234 closed 2 months ago

eric1234 commented 2 months ago

Fossil uses the file _FOSSIL_ on Windows but on all other operating systems it prefers .fslckout (either will work but those are the names used by the software when you create checkouts).

You can see this documented in the Fossil Glossary in the "Checkout" section where it says:

Check-out directories are associated with the repos they were created from by settings stored in the check-out directory. This is in the .fslckout file on POSIX type systems, but for historical compatibility reasons, it’s called FOSSIL by native Windows builds of Fossil.

Basically the use of _FOSSIL_ on Windows is for historical windows file systems that don't support more than three characters as an extension.

eric1234 commented 2 months ago

Sorry for the mess on the PR. I was trying to rename the branch to something more reasonable but then git was auto-closing the PR so just gave up.

orbitalquark commented 2 months ago

Thanks! Added in https://github.com/orbitalquark/textadept/commit/39b70ac24ead506deb75d737ae8663d2420161d0