Login
All files named "f-apps/f-rm.c"
Login

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

History for f-apps/f-rm.c

2022-07-20
10:18
f-rm: added --rm as an alias for --unlink, for symmetry with f-rename --mv. Corrected help text for fcli's --lib-version flag. file: [ab8e5cff83] check-in: [fe30de82c8] user: stephan branch: trunk, size: 3839
2022-06-19
20:13
f-remove: if a stat() fails while using the -u (unlink) flag, reset the error state to keep that unimportant error from propagating up through to main(). file: [cb6f68ec39] check-in: [2da3406516] user: stephan branch: trunk, size: 3774
2021-12-21
12:44
f-rm now tries to non-fatally report, in verbose mode, if unlinking of a file fails. file: [62fe73a203] check-in: [88ebea4673] user: stephan branch: trunk, size: 3675
12:34
Expanded fsl_ckout_unmanage()'s callback interface to facilitate client-side unlinking of newly-unmanaged files. Added f-rm --unlink option. file: [ead680fbbf] check-in: [9be228a605] user: stephan branch: trunk, size: 3214
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: [178f923147] check-in: [76d6359435] user: stephan branch: trunk, size: 2547
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: [880439be62] check-in: [c9fb1f972f] user: stephan branch: trunk, size: 2591
2021-04-04
05:07
f-apps: modernized/simplified usage of exit-on-help. Removed some bogus CLI flag entries from f-config. file: [465980dddd] check-in: [1d3192c82b] user: stephan branch: trunk, size: 2522
04:58
f-apps: use fcli_cx() instead of accessing fcli.f directly. file: [cc6d1e06e6] check-in: [9c7cf37828] user: stephan branch: trunk, size: 2573
2021-03-31
12:17
Renamed fsl_vfile_load_from_rid() to fsl_vfile_load(). Added fsl_vfile_unload() and fsl_vfile_unload_except(). f-revert can now revert files to specific checkin versions while retaining the current checkout version. file: [5ae57e8046] check-in: [40fcc816f0] user: stephan branch: trunk, size: 2570
2021-03-28
17:10
Refactored fsl_ckout_unmanage() to optionally use the new fsl_id_bag approach added for fsl_ckout_revert(). Refactored f-rm to use that. file: [5dd54414cb] check-in: [949885a1d3] user: stephan branch: trunk, size: 2567
2021-03-23
00:49
Refactored the rm op to use a callback to report removals, similar to add and revert. Renamed fsl_ckout_file_add/rm... to fsl_ckout_manage/unmanage... Sidebar: used f-revert and the stash to recover from a fatal perl-regex refactoring mishap while working on this. file: [bb503228cf] check-in: [09300fddd6] user: stephan branch: trunk, size: 2429
2021-03-22
17:54
Added fsl_ckout_manifest_setting(). fsl_reserved_fn_check() now honors the various manifest files as being forbidden for addition into the repo (but will allow them if they're already in the vfile table). Swapped 2 params in fsl_ckout_file_add_f() signature. file: [b704ff06a2] check-in: [2c4a018200] user: stephan branch: trunk, size: 2112
13:45
Added f-revert, analog to (fossil revert). Fixed f-rm to handle the filename '.' sensibly. Numerous tweaks in adjacent code along the way. file: [ea9e186a28] check-in: [8cc33e4e8a] user: stephan branch: trunk, size: 2171
10:01
Changed the signature of fsl_ckout_file_rm(). file: [82be2af11f] check-in: [356e3783c9] user: stephan branch: trunk, size: 2011
2021-03-20
21:36
Minor restructuring of the fcli struct. file: [eb0e52b7f2] check-in: [436ae2c47f] user: stephan branch: trunk, size: 1883
2021-03-15
04:25
Globally renamed _checkout to _ckout, as some of these names are getting a bit long. file: [c26dc72f9d] check-in: [bc9e88ee2c] user: stephan branch: trunk, size: 1872
2021-03-10
17:36
Minor fcli API usage modernization. file: [5d2b277589] check-in: [c04ce8aaf1] user: stephan branch: trunk, size: 1881
2021-03-01
16:21
Arguably a typo fix in the new header. Thank goodness for stream editors. file: [e6530edb80] check-in: [386316db07] user: stephan branch: trunk, size: 1917
15:46
Replaced the overwhelming majority of license headers with the new project-standard one. Left a few as they were for files which were imported essentially unchanged from Fossil or, in the case of SHA1/SHA3/MD5 bits, other 3rd-party sources. file: [f64d7937ee] check-in: [fa5fb24496] user: stephan branch: trunk, size: 1909
2021-02-28
04:57
fcli now uses its own FCLI_RC_HELP, instead of hijacking FSL_RC_BREAK, to indicate that --help was triggered. file: [2ba0c9157a] check-in: [d0edf4583f] user: stephan branch: trunk, size: 1845
2021-02-27
14:29
Finished porting the f-apps to the new CLI handling bits. Replaced fcli::appHelp with what was formerly fcli::appHelp2. file: [ff0e317644] check-in: [ca464b5b74] user: stephan branch: trunk, size: 1842
07:08
More CLI flag subsystem porting and license header swapping. file: [c5dbd8d3d4] check-in: [c94a3b0d0e] user: stephan branch: trunk, size: 1843
2021-02-26
14:04
Reworking how fcli flag handling is done. file: [35c1d3717e] check-in: [dad2f76f30] user: stephan branch: fcli-flag-rework, size: 2280
2021-02-11
19:13
Completely reimplemented ownership semantics of fcli argument/flag memory, greatly simplifying app-side management of those. Now fcli sticks all of them in fcli_fax() so that their lifetime is predictable and managed, so clients no longer have to free them. file: [1ef2043fa2] check-in: [4307886eab] user: stephan branch: trunk, size: 2274
2021-02-09
00:18
Updated license text in almost all C/H to claim copyright while attributing all of the files as heavily derived from DRH's work. file: [165e6b2693] check-in: [631fb3f69a] user: stephan branch: trunk, size: 2289
2014-02-14
09:05
Globally changes the API docs from fossil/sqlite-style '**' to Doxygen-friendly format because the extra stars hinder writability/changability and require an extra filter at the doxygen-processing level. file: [1819ba7e28] check-in: [a2cbd2e343] user: stephan branch: trunk, size: 2259
2014-02-11
14:31
Renamed f-rm.c → f-apps/f-rm.c. Build cleanups. Moved f-* apps to f-apps/ subdir. Now builds a shared (instead of static) lib by default because that now (since the file move) simplifies the linking of the f-apps (and th1ish). Adapted f-sanity.c tests to the new directory structure. file: [faaa4b5c6b] check-in: [e85b45eda2] user: stephan branch: trunk, size: 2259