Fossil SCM
Renamed the test-move-repository command to local-repo, since it's useful for more than just testing, and there's no good alternative in the main command set otherwise. It is especially useful with local-only repos, since that means use of the sync and remote-url commands isn't the correct way to change the location of the local repo.
Commit
a52c3e1256288c7d88c2fabe3220e7ee55af9b8ad843d2a25ee611d7ac3da24b
Parent
5421caa21aa8303…
1 file changed
+2
-2
M
src/db.c
+2
-2
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -1845,13 +1845,13 @@ | ||
| 1845 | 1845 | } |
| 1846 | 1846 | } |
| 1847 | 1847 | |
| 1848 | 1848 | |
| 1849 | 1849 | /* |
| 1850 | -** COMMAND: test-move-repository | |
| 1850 | +** COMMAND: local-repo | |
| 1851 | 1851 | ** |
| 1852 | -** Usage: %fossil test-move-repository PATHNAME | |
| 1852 | +** Usage: %fossil local-repo PATHNAME | |
| 1853 | 1853 | ** |
| 1854 | 1854 | ** Change the location of the repository database on a local check-out. |
| 1855 | 1855 | ** Use this command to avoid having to close and reopen a checkout |
| 1856 | 1856 | ** when relocating the repository database. |
| 1857 | 1857 | */ |
| 1858 | 1858 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1845,13 +1845,13 @@ | |
| 1845 | } |
| 1846 | } |
| 1847 | |
| 1848 | |
| 1849 | /* |
| 1850 | ** COMMAND: test-move-repository |
| 1851 | ** |
| 1852 | ** Usage: %fossil test-move-repository PATHNAME |
| 1853 | ** |
| 1854 | ** Change the location of the repository database on a local check-out. |
| 1855 | ** Use this command to avoid having to close and reopen a checkout |
| 1856 | ** when relocating the repository database. |
| 1857 | */ |
| 1858 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1845,13 +1845,13 @@ | |
| 1845 | } |
| 1846 | } |
| 1847 | |
| 1848 | |
| 1849 | /* |
| 1850 | ** COMMAND: local-repo |
| 1851 | ** |
| 1852 | ** Usage: %fossil local-repo PATHNAME |
| 1853 | ** |
| 1854 | ** Change the location of the repository database on a local check-out. |
| 1855 | ** Use this command to avoid having to close and reopen a checkout |
| 1856 | ** when relocating the repository database. |
| 1857 | */ |
| 1858 |