Fossil SCM
Recore the new repository name in the configuration database when running the test-move-repository command.
Commit
592ee15dfc13fa4a4309fe84521ade2db64d996d
Parent
b6ed6241e1710a9…
1 file changed
+1
M
src/db.c
+1
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -1272,10 +1272,11 @@ | ||
| 1272 | 1272 | fossil_fatal("not in a local checkout"); |
| 1273 | 1273 | return; |
| 1274 | 1274 | } |
| 1275 | 1275 | db_open_or_attach(zRepo, "test_repo", 0); |
| 1276 | 1276 | db_lset("repository", blob_str(&repo)); |
| 1277 | + db_record_repository_filename(blob_str(&repo)); | |
| 1277 | 1278 | db_close(1); |
| 1278 | 1279 | } |
| 1279 | 1280 | |
| 1280 | 1281 | |
| 1281 | 1282 | /* |
| 1282 | 1283 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1272,10 +1272,11 @@ | |
| 1272 | fossil_fatal("not in a local checkout"); |
| 1273 | return; |
| 1274 | } |
| 1275 | db_open_or_attach(zRepo, "test_repo", 0); |
| 1276 | db_lset("repository", blob_str(&repo)); |
| 1277 | db_close(1); |
| 1278 | } |
| 1279 | |
| 1280 | |
| 1281 | /* |
| 1282 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1272,10 +1272,11 @@ | |
| 1272 | fossil_fatal("not in a local checkout"); |
| 1273 | return; |
| 1274 | } |
| 1275 | db_open_or_attach(zRepo, "test_repo", 0); |
| 1276 | db_lset("repository", blob_str(&repo)); |
| 1277 | db_record_repository_filename(blob_str(&repo)); |
| 1278 | db_close(1); |
| 1279 | } |
| 1280 | |
| 1281 | |
| 1282 | /* |
| 1283 |