Fossil SCM

Recore the new repository name in the configuration database when running the test-move-repository command.

drh 2014-12-16 23:39 trunk
Commit 592ee15dfc13fa4a4309fe84521ade2db64d996d
1 file changed +1
+1
--- src/db.c
+++ src/db.c
@@ -1272,10 +1272,11 @@
12721272
fossil_fatal("not in a local checkout");
12731273
return;
12741274
}
12751275
db_open_or_attach(zRepo, "test_repo", 0);
12761276
db_lset("repository", blob_str(&repo));
1277
+ db_record_repository_filename(blob_str(&repo));
12771278
db_close(1);
12781279
}
12791280
12801281
12811282
/*
12821283
--- 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

Keyboard Shortcuts

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