Fossil SCM

Fossil command test-move-repository should run without access to repository

Open

205152fe151a842… · opened 14 years ago

Type
Code_Defect
Priority
Severity
Minor
Resolution
Open
Subsystem
Created
March 22, 2012 4:13 a.m.

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](http://fossil-scm.org/index.html/fdiff?v1=9fcdaea15be8ddb9&v2;=818f20c52219f148) shows that db_open_repository(0) was added to db_open_local(), which looks incorrect.

Keyboard Shortcuts

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