Fossil SCM
test-move-repository requires access to original repository
38cecac15f1aeaa…
· opened 13 years, 1 month ago
- Type
- Code_Defect
- Priority
- —
- Severity
- Important
- Resolution
- Fixed
- Subsystem
- —
- Created
- March 4, 2013 10:26 a.m.
Try "fossil test-move-repository" when the original location is no longer available.
$ fossil test-move-repository C:/fossil/foo.fossil Fossil internal error: repository does not exist or is in an unreadable directory: H:\fossil\foo.fossil
Also note that db_open_repository() and db_record_repository_filename() don't require a normalized path name, so the file_canonical_name() call in cmd_open() is not necessary.
Proposed fix in branch "fix-test-move-repository"
Comments (2)
Try "fossil test-move-repository" when the original location is no longer available.
$ fossil test-move-repository C:/fossil/foo.fossil Fossil internal error: repository does not exist or is in an unreadable directory: H:\fossil\foo.fossil
Also note that db_open_repository() and db_record_repository_filename() don't require a normalized path name, so the file_canonical_name() call in cmd_open() is not necessary.
Proposed fix in branch "fix-test-move-repository"
Fixed in trunk