Fossil SCM

Documented the --setmtime flag to the update command.

stephan 2019-06-13 06:15 trunk
Commit 34fcaf829a908db9f27e9beca0376fc596853c81c053d64a2a4a7dfa49e949d1
1 file changed +3
--- src/update.c
+++ src/update.c
@@ -99,10 +99,13 @@
9999
** --force-missing force update if missing content after sync
100100
** -n|--dry-run If given, display instead of run actions
101101
** -v|--verbose print status information about all files
102102
** -W|--width <num> Width of lines (default is to auto-detect). Must be >20
103103
** or 0 (= no limit, resulting in a single line per entry).
104
+** --setmtime Set timestamps of all files to match their SCM-side
105
+** times (the timestamp of the last checkin which modified
106
+** them).
104107
**
105108
** See also: revert
106109
*/
107110
void update_cmd(void){
108111
int vid; /* Current version */
109112
--- src/update.c
+++ src/update.c
@@ -99,10 +99,13 @@
99 ** --force-missing force update if missing content after sync
100 ** -n|--dry-run If given, display instead of run actions
101 ** -v|--verbose print status information about all files
102 ** -W|--width <num> Width of lines (default is to auto-detect). Must be >20
103 ** or 0 (= no limit, resulting in a single line per entry).
 
 
 
104 **
105 ** See also: revert
106 */
107 void update_cmd(void){
108 int vid; /* Current version */
109
--- src/update.c
+++ src/update.c
@@ -99,10 +99,13 @@
99 ** --force-missing force update if missing content after sync
100 ** -n|--dry-run If given, display instead of run actions
101 ** -v|--verbose print status information about all files
102 ** -W|--width <num> Width of lines (default is to auto-detect). Must be >20
103 ** or 0 (= no limit, resulting in a single line per entry).
104 ** --setmtime Set timestamps of all files to match their SCM-side
105 ** times (the timestamp of the last checkin which modified
106 ** them).
107 **
108 ** See also: revert
109 */
110 void update_cmd(void){
111 int vid; /* Current version */
112

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button