Fossil SCM
repository created in linux can't be open in windows
1501b8bf3b229e7…
· opened 17 years, 2 months ago
- Type
- Code_Defect
- Priority
- —
- Severity
- Important
- Resolution
- Not_A_Bug
- Subsystem
- —
- Created
- Jan. 31, 2009 12:00 a.m.
Hi, I am using fossil just a couple of days, and it is wanderful - I find it very practical and it meets all my needs. Sorry for bloating the ticket with a praise, but I'd like to give some positive feedback... :-)
Here is my problem: - I've created a repository in linux. Commited several times, closed, reopen, everything works. The repository (called unilang) contains a single directory "unilang" with several files. - I've copied the repository to windows and tried fossil open - it failed:
C:\Users\Orest\Documents\rep>fossil open unilang
ADD unilang/calc.g
(null): unable to create directory C:/Users/Orest/Documents/rep/unilang
The path in the error message contains slashes (as in linux), while a valid windows path contains backslashes - could that be related ?
- I still could open the repository in window using "fossil ui unilang" without problems. So I 've extracted a zip file, unzipped and created a new repository with the same file structure in windows. That works - I can open it in windows on another place witout problems. And - it as well works in linux - fossil open can creates all the files in linux from a repository created in windows. So what does not work is creating in linux, opening in windows...
Best Regards, Orest
anonymous claiming to be [email protected] added on 2009-01-31 16:51:59:
FYI: I built the exact revision of fossil.exe on Windows XP using the latest MinGW, and copied a repository from linux.
I am unable to reproduce this behavior, 'fossil open' created all the directories and source files.
anonymous added on 2009-02-04 18:54:31:
So far I could only try on Vista, but I'll try XP ASAP.
Orest
kkinnell added on 2009-02-13 17:17:53:
Out of curiosity, what happens if you run the server on the Linux box and clone it to the Windows box?
anonymous claiming to be [email protected] added on 2009-02-17 18:52:15:
I just created a repository on a linux box (CentOS 5) and I am now happily committing from a clone on a Windows Vista (Business) machine. It might be worthwhile checking the errors/comments given when cloning on the Windows box.
My fossil version is 472f9411ee (precompiled binaries for Linux and Windows).
anonymous added on 2009-02-18 21:46:47:
Sorry, I must have done something wrong the first time. It is working now...
Orest
bharder added on 2009-02-19 00:11:47:
Closed, as per last remark in thread.