Some commits ago, I deleted a directory in my Fossil repo. How do I get it back?
Asked
Active
Viewed 387 times
2 Answers
1
Clone your repository in folder 1
Open at the last checkin that contained the lost directory
Clone your repository in folder 2
Open the tip
Copy the lost directory from folder 1 to folder 2
execute addremove in folder 2
commit folder 2

ravenspoint
- 19,093
- 6
- 57
- 103
1
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.

Benoit
- 76,634
- 23
- 210
- 236
-
Or go to "The union of all files from all check-ins", go the missing directory, select a deleted file, click on the version hash, select ancestors, click on the previos rev, download it as ZIP. – Prof. Falken Dec 07 '12 at 07:03