0

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

Prof. Falken
  • 24,226
  • 19
  • 100
  • 173

2 Answers2

1
  1. Clone your repository in folder 1

  2. Open at the last checkin that contained the lost directory

  3. Clone your repository in folder 2

  4. Open the tip

  5. Copy the lost directory from folder 1 to folder 2

  6. execute addremove in folder 2

  7. 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