Login
All files named ”f-apps/f-rename.c”
Login

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

History for f-apps/f-rename.c

2025-08-20
15:56
Remove deprecated SPDX-ArtifactOfProjectName header. file: ef700656cb check-in: [31bb2bd4bf] user: stephan branch: trunk, size: 3879
2025-08-10
00:58
Globally rename foo_transaction_bar() to foo_txn_bar(). file: 5d084aaf6e check-in: [03da2e699b] user: stephan branch: savepoints, size: 3919
2024-09-16
20:34
Remove the fsl_db::f (fsl_cx*) member. This touches a lot of code lines but was not anywhere near as invasive as expected. file: 9f4a839e9e check-in: [f00a5025f5] user: stephan branch: db-hooks, size: 3951
2024-04-27
11:51
Apply the case-handling change from [0e50f798e6a5] to f-rename.c, analog to [fossil:859b00b7|upstream 859b00b7]. Edit: this change and the related one it links to should ideally be done transparently in the library, but retrofitting it into those two places is beyond my current level of ambition. Patches to that effect would be welcomed! file: bddd004657 check-in: [070f359a1e] user: stephan branch: trunk, size: 3954
2023-06-20
13:48
Remove some stray end-of-line whitespace. file: 58fc9133c1 check-in: [ab6ce6037c] user: stephan branch: trunk, size: 3826
13:44
Remove some stray whitespace. file: 198a15e1c3 check-in: [9c2357b976] user: stephan branch: trunk, size: 3830
2022-08-10
09:25
f-rename now defaults the -mv flag to true if the app is invoked as f-mv or f-move. file: 6bf72f98d2 check-in: [99eed85229] user: stephan branch: trunk, size: 3853
2022-03-10
03:38
For the fsl_ckout_rename()-related bits, rename the fsMvFile option to doFsMv. file: 4dfc28cab8 check-in: [b85863a91d] user: stephan branch: trunk, size: 3694
2022-03-09
04:04
Completely reimplemented fsl_ckout_rename() using fossil(1)'s impl as a basis. The code is now arguably more legible and is more behavior-compatible with fossil. file: 7244b1a6aa check-in: [bc7bfb06e3] user: stephan branch: trunk, size: 3700
2022-03-08
07:07
Refactored fsl_ckout_rename() to use an options object and callback. Discovered a discrepancy in how renames are handled compared to fossil(1) when the source is a single dir name: fossil includes that dir name in the target whereas we do not. That might be subject to change, pending /chat discussions. file: 8ece01ad30 check-in: [80c84abba6] user: stephan branch: trunk, size: 3569
05:46
Added: Added f-rename. This impl revealed how/why fsl_ckout_rename() needs to be refactored to take a callback for reporting exactly which files get renamed, but that will have to wait until the muse strikes. file: 4014848232 check-in: [ef1ceb0a0c] user: stephan branch: trunk, size: 3356