Fossil SCM

test-move-repository requires access to original repository

Fixed

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)

jan.nijtmans 13 years, 1 month ago

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"

jan.nijtmans 13 years ago

Fixed in trunk

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button