Fossil

Check-in [160bd677]
Login

Check-in [160bd677]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:When doing an automatic open following a clone, do not autosync. The repo was just cloned and should already be current. See forum post 0dbfeab2ff.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 160bd677316cc8dd2a2af2de222528aa08e023aa40b9c7b3b4902a9719d8fb81
User & Date: drh 2021-10-11 10:11:57
Context
2021-10-11
10:18
Fix the "fossil tls-config remove-exception" command so that it works without triggering authorizer exceptions. Forum post 64d919b2cf. ... (check-in: 156c890a user: drh tags: trunk)
10:11
When doing an automatic open following a clone, do not autosync. The repo was just cloned and should already be current. See forum post 0dbfeab2ff. ... (check-in: 160bd677 user: drh tags: trunk)
2021-10-10
15:55
Removed a no-longer-correct doc passage which referenced the older practice of using an IP component in the login cookie. ... (check-in: 1dc5e1ce user: stephan tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/clone.c.

295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
    Blob cmd;
    fossil_print("opening the new %s repository in directory %s...\n",
       zRepo, zWorkDir);
    blob_init(&cmd, 0, 0);
    blob_append_escaped_arg(&cmd, g.nameOfExe, 1);
    blob_append(&cmd, " open ", -1);
    blob_append_escaped_arg(&cmd, zRepo, 1);
    blob_append(&cmd, " --workdir ", -1);
    blob_append_escaped_arg(&cmd, zWorkDir, 1);
    if( allowNested ){
      blob_append(&cmd, " --nested", -1);
    }
    fossil_system(blob_str(&cmd));
    blob_reset(&cmd);
  }







|







295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
    Blob cmd;
    fossil_print("opening the new %s repository in directory %s...\n",
       zRepo, zWorkDir);
    blob_init(&cmd, 0, 0);
    blob_append_escaped_arg(&cmd, g.nameOfExe, 1);
    blob_append(&cmd, " open ", -1);
    blob_append_escaped_arg(&cmd, zRepo, 1);
    blob_append(&cmd, " --nosync --workdir ", -1);
    blob_append_escaped_arg(&cmd, zWorkDir, 1);
    if( allowNested ){
      blob_append(&cmd, " --nested", -1);
    }
    fossil_system(blob_str(&cmd));
    blob_reset(&cmd);
  }