Search code examples
version-controldvcsfossil

How to restore single directory in a Fossil repo?


Some commits ago, I deleted a directory in my Fossil repo. How do I get it back?


Solution

  • The simplest way would be:

    • open fossil ui
    • go to the last commit in which your directory existed
    • click on “zip file” to download a zip of the repository at that time
    • decompress only the right folder.