Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for f-apps/f-co.c
2021-12-30
| ||
05:37 | Replaced f-apps fcli_setup() calls with fcli_setup_v2(). file: [6caf070a43] check-in: [313b59841e] user: stephan branch: trunk, size: 9985 | |
2021-12-21
| ||
08:28 | Moved fossil-scm/fossil.h to ../libfossil.h so that client code can build from both the canonical tree and amalgamation using the same include name. file: [64f2402554] check-in: [76d6359435] user: stephan branch: trunk, size: 10017 | |
2021-10-15
| ||
09:33 | While prepping for the merge port, moved the dry-run flag OUT of fcli and into the specific apps which implement it. Added skeleton f-test-merge app for use in the merge development. file: [f08cb0ab84] check-in: [c9fb1f972f] user: stephan branch: trunk, size: 10208 | |
2021-04-04
| ||
05:07 | f-apps: modernized/simplified usage of exit-on-help. Removed some bogus CLI flag entries from f-config. file: [2d4307f56b] check-in: [1d3192c82b] user: stephan branch: trunk, size: 10146 | |
04:58 | f-apps: use fcli_cx() instead of accessing fcli.f directly. file: [e91a242408] check-in: [9c7cf37828] user: stephan branch: trunk, size: 10196 | |
2021-03-21
| ||
00:26 | Consolidated checkout/update to both use fsl_ckup_fchange_e to report the type of change, allowing removal of several of the fsl_ckup_state members. Local uncommitted adds and removals are now propagated when updating. Various adjacent tweaks. file: [3db4cf502b] check-in: [1efb02180b] user: stephan branch: trunk, size: 10193 | |
2021-03-20
| ||
21:36 | Minor restructuring of the fcli struct. file: [eb5613a67e] check-in: [436ae2c47f] user: stephan branch: trunk, size: 10111 | |
21:01 | More work in/around the update process. f-update and f-co now only list "noteworthy" changes instead of all files unless the new -Q|--not-quiet flag is used. file: [7215e35b81] check-in: [0815bc50d7] user: stephan branch: trunk, size: 10100 | |
09:05 | Barring one missing piece of to-port infrastructure and a boatload of testing, the update mechanism is in place and seems to be doing its thing. file: [ab6169c44f] check-in: [9b9b989b2c] user: stephan branch: trunk, size: 10295 | |
04:19 | Several cleanups in/around open/checkout/checkin. file: [17b3d942c7] check-in: [2c56bac8e2] user: stephan branch: trunk, size: 10293 | |
00:35 | More work on the update op. file: [0dfc0d6755] check-in: [34f0c94b79] user: stephan branch: trunk, size: 10352 | |
2021-03-19
| ||
10:01 | fsl_ckout_manifest_write() now deletes the manifest files which it does not create unless they are part of the current checkout. More work on/towards the update op. file: [0d07478cf2] check-in: [9d86e51a31] user: stephan branch: trunk, size: 10346 | |
07:27 | More work on the update infrastructure. It seems we can consolidate the options and callback state for checkout/update opts, so renamed some APIs to account for both. file: [22cc36b377] check-in: [6ceda397ad] user: stephan branch: trunk, size: 10348 | |
05:19 | Added fsl_ckout_write_manifest() to optionally write out the (manifest, manifest.uuid, manifest.tags) files for a checkout. fsl_ckout_calc_update_version(): removed the preferLatest parameter and it now reports the list of ambiguous candidates in its error string. file: [c22f065a79] check-in: [07fd8c1f33] user: stephan branch: trunk, size: 10378 | |
2021-03-18
| ||
16:07 | Some minor API renaming for clarity and started work on an app for porting over the update op (noting that it's currently nothing more than a skeleton). Changed how fsl_repo_ckout_state reports filenames: ckout-relative instead of absolute seems more appropriate. Might want to include both, though. file: [6cd7d73f49] check-in: [045532178f] user: stephan branch: trunk, size: 11323 | |
2021-03-15
| ||
12:12 | Swapped order of 2 parameters to fsl_confirm_callback_f - just seems more consistent that way. file: [c4bf7c61b5] check-in: [26191854cd] user: stephan branch: trunk, size: 11537 | |
11:14 | Extended the fsl_confirmer API to be able to ask, and get responses to, simple multiple-choice questions. This will be needed, e.g., for performing an update operation when multiple versions are equally viable candidates. file: [42f9145cec] check-in: [ccc0fef970] user: stephan branch: trunk, size: 11537 | |
04:25 | Globally renamed _checkout to _ckout, as some of these names are getting a bit long. file: [d0a341e107] check-in: [bc9e88ee2c] user: stephan branch: trunk, size: 11505 | |
2021-03-14
| ||
15:50 | Considerable hammering on the config db APIs to make handling of versionable settings work like the other modes. Eliminated the versionable-specific config get/set APIs. file: [ac2cfa76b0] check-in: [a2cd19f640] user: stephan branch: trunk, size: 11538 | |
11:48 | Renamed fsl_repo_checkout_state::xState to extractState. file: [b80fc52209] check-in: [9c08a8a4ac] user: stephan branch: trunk, size: 11538 | |
2021-03-13
| ||
06:17 | Minor fsl_cx_confirmer() API changes. Removed the extraneous xvfile temp table used by the checkout process and instead use a dual-versioned vfile table. file: [a78278068b] check-in: [e81048d148] user: stephan branch: trunk, size: 11532 | |
2021-03-09
| ||
06:01 | Minor confirmer cleanups and docs. file: [d335d5488a] check-in: [d58d30707f] user: stephan branch: confirmer-co, size: 11417 | |
05:17 | It seems we just about have the confirmer bits working for f-co. Had to change the semantics of --keep, but the older semantics feel really weird. Needs a bit more testing. file: [7170e1bb28] check-in: [ed0fa2b56a] user: stephan branch: confirmer-co, size: 10838 | |
01:22 | Fixed a couple broken error checks. f-co --quiet --verbose now lists only files which actually changed, rather than all files. file: [4e10b96473] check-in: [85113ee198] user: stephan branch: confirmer-co, size: 10238 | |
00:13 | Minor tweaks of the confirmer bits. file: [d1f2a64db3] check-in: [13fb58bfdd] user: stephan branch: confirmer-co, size: 9925 | |
2021-03-08
| ||
23:55 | Minor cosmetic cleanups. file: [4468b37267] check-in: [ce584dc03b] user: stephan branch: confirmer-co, size: 10008 | |
23:42 | Optimizations in fsl_repo_checkout() to reduce fsl_content_get() calls, only writing files which vfile says have changed. Cuts alloc counts by approx. 3-4x and memory cost by 5-8x in basic tests. f-co now has a blank status square for files which were not modified, to make it easier to spot the real changes. file: [c0bb5b05b1] check-in: [735e9e32ab] user: stephan branch: confirmer-co, size: 9918 | |
19:36 | Initial work on integrating fsl_cx_confirm() with the checkout process. It basically seems to work but has several notable TODOs and FIXMEs. file: [00e47cc9ca] check-in: [6dd8166303] user: stephan branch: confirmer-co, size: 9810 | |
2021-03-07
| ||
12:40 | Memleak fix. file: [191d564563] check-in: [1c829de1f1] user: stephan branch: trunk, size: 8699 | |
12:35 | Implemented f-co --manifest. file: [963512a65c] check-in: [91a9c30303] user: stephan branch: trunk, size: 8683 | |
11:48 | Null pointer deref fix. file: [a4b6f18e34] check-in: [91aa67ba47] user: stephan branch: trunk, size: 6788 | |
10:55 | Minor doc cleanups and API renaming. file: [9ca3cde46b] check-in: [8425dbc02c] user: stephan branch: trunk, size: 6783 | |
09:43 | Renamed a cryptically-named struct member from fc to fCard. file: [8938648083] check-in: [ae428e47b0] user: stephan branch: trunk, size: 6792 | |
2021-03-06
| ||
16:27 | Improved handling of deleted-by-checkin files via fsl_repo_checkout() and their reporting via f-co. file: [eb3846daaf] check-in: [038cd076ae] user: stephan branch: trunk, size: 6789 | |
2021-03-05
| ||
06:00 | f-open and f-co now (mostly) honor --quiet. f-co now deletes files which removed between the original and target checkin unless the --no-rm flag is used. f-co cowardly refuses to check out the same version over itself. BUG: i have seen a few instances where the vvar 'checkout' setting disappears, leading to later app calls saying it's 'not a checkout', but have yet to pin down the origin. file: [e004e72695] check-in: [da6bcc64ba] user: stephan branch: trunk, size: 5834 | |
04:29 | More tinkering with the f-co/f-open-related infrastructure. file: [49ad6d0e61] check-in: [13194b49eb] user: stephan branch: trunk, size: 5510 | |
01:01 | Added dry-run mode to fsl_repo_checkout(). Minor cleanups in f-open and f-co. file: [6934ac3c5a] check-in: [f54d7ff201] user: stephan branch: trunk, size: 5687 | |
00:07 | Got f-co working, but am not sure that the --keep semantics are useful. More refactoring in/around f-open and f-co. file: [f7b0349528] check-in: [eeb7706e6e] user: stephan branch: trunk, size: 5553 | |
2021-03-04
| ||
22:46 | Refactored fsl_repo_checkout() to take a different options type and callback, and provided that callback with more interesting state. Restored f-open functionally which was disabled due to the lack of that state. file: [99bf35d846] check-in: [ea7a0da420] user: stephan branch: trunk, size: 9623 | |
19:29 | Renamed fsl_repo_open_opt to the unfortunately verbose fsl_repo_open_checkout_opt to avoid confusion about the options being for fsl_repo_open() (which they're not). Fixed chdir()-back behavior in fsl_repo_open_checkout() when opt->targetDir is NULL. file: [f495c772da] check-in: [ea0bfdc56d] user: stephan branch: trunk, size: 9615 | |
19:06 | Minor API tweaks. Corrected --setmtime handling of f-open (broken by my refactoring). file: [b82995b7f6] check-in: [3e996ceab5] user: stephan branch: trunk, size: 9597 | |
18:24 | Renamed f-apps/f-checkout.c → f-apps/f-co.c. Renamed f-checkin to f-ci and f-checkout to f-co because the tab-completion conflicts are getting annoying :/. file: [9b58d4f6ac] check-in: [932ec8ad51] user: stephan branch: trunk, size: 9739 | |