View Ticket
Not logged in
Ticket UUID: 205152fe151a8421df40546df0d97f10ccee4fb9
Title: Fossil command test-move-repository should run without access to repository
Status: Open Type: Code_Defect
Severity: Minor Priority:
Subsystem: Resolution: Open
Last Modified: 2012-03-27 09:06:24
Version Found In: 1.22 [5dd5d39e7c]
Description & Comments:
Fossil command test-move-repository can (and should) run independently without access to repository.

This is useful if the repository is moved prior to running this command.

As a workaround, sqlite3 executable can be used to manipulate _FOSSIL_ as follows:

C:\test> sqlite3 _FOSSIL_
sqlite> UPDATE vvar SET value='new.fsl' WHERE name='repository';

In similar lines, fossil command sqlite3 should run independent of repository as well as checkout. If run from a checkout, if repository is not available, this command doesn't run even if database is explicitly specified. if run from outside a checkout, it requires a fossil repository through -R option.


altufaltu added on 2012-03-27 09:06:24 UTC:
This diff shows that db_open_repository(0) was added to db_open_local(), which looks incorrect.