Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

fossil

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?

like image 817
anta40 Avatar asked Apr 05 '11 11:04

anta40


2 Answers

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
like image 113
Onlyjob Avatar answered Oct 08 '22 08:10

Onlyjob


I found this email and get the solution:

rm YouCloneDirectory/.fslckout

Have a good day.

like image 24
V.D.D Avatar answered Oct 08 '22 06:10

V.D.D