anta40
anta40

Reputation: 6743

Fossil: repository does not exist or is in an unreadable directory?

I have 2 local repos on my notebook. The first one is Fresh.fossil (http://chiselapp.com/user/johnfound/repository/FreshIDE/), located in C:\FASM\STUFFS, and the second one is book.fossil (http://clone:[email protected]/schimpf-book book.fossil), located in C:\Downloads\Software.

I'd like to update the second one, so first I did was fossil open book.fossil, and and error occured:

C:\Downloads\software\fossil.exe: repository does not exist or is in an unreadable directory: C :/Downloads/software/Fresh.fossil

This error didn't occured when I updated the first repo. Any idea why?

Upvotes: 9

Views: 2513

Answers (2)

V.D.D
V.D.D

Reputation: 145

I found this email and get the solution:

rm YouCloneDirectory/.fslckout

Have a good day.

Upvotes: 3

Onlyjob
Onlyjob

Reputation: 5878

This is likely because repository was moved since it was opened for a first time. Fossil remember where repository was opened, but no longer able to find it at the expected location.

When relocating repository you need to do the following (in the source tree):

rm _FOSSIL_
fossil open repo-file-name.fossil --keep

Upvotes: 8

Related Questions