Differences From Artifact [97bbd2fd43]:
- File src/db.c — part of check-in [593e801bdf] at 2023-09-29 13:35:55 on branch trunk — merge in hash-admin-user-password (user: preben size: 179210)
To Artifact [784e83b0ae]:
- File src/db.c — part of check-in [ee710cc171] at 2023-11-24 21:39:44 on branch clone-resume — Implement the ability to resume a clone that has failed. This is a variation on the attempt made in [ec26471439] that was never completed. The significant difference in the use of the "clone protocol" which uses cfile cards to complete the synchronization rather than the "sync protocol" which takes much longer using the file card. (user: andybradford size: 179330)
| ︙ | |||
4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 | 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 | + + + |
fossil_fatal("the --repodir option only makes sense if the REPOSITORY "
"argument is a URI that begins with http:, https:, ssh:, "
"or file:");
}
db_open_config(0,0);
db_open_repository(zRepo);
if( db_get_int("aux-clone-seqno",0)!=0 ){
fossil_fatal("This repository appears to be an incomplete clone.");
}
/* Figure out which revision to open. */
if( !emptyFlag ){
if( g.argc==4 ){
g.zOpenRevision = g.argv[3];
}else if( db_exists("SELECT 1 FROM event WHERE type='ci'") ){
g.zOpenRevision = db_get("main-branch", 0);
|
| ︙ |