Fossil SCM
Documented the --setmtime flag to the update command.
Commit
34fcaf829a908db9f27e9beca0376fc596853c81c053d64a2a4a7dfa49e949d1
Parent
052c5f24a96937d…
1 file changed
+3
+3
| --- src/update.c | ||
| +++ src/update.c | ||
| @@ -99,10 +99,13 @@ | ||
| 99 | 99 | ** --force-missing force update if missing content after sync |
| 100 | 100 | ** -n|--dry-run If given, display instead of run actions |
| 101 | 101 | ** -v|--verbose print status information about all files |
| 102 | 102 | ** -W|--width <num> Width of lines (default is to auto-detect). Must be >20 |
| 103 | 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). | |
| 104 | 107 | ** |
| 105 | 108 | ** See also: revert |
| 106 | 109 | */ |
| 107 | 110 | void update_cmd(void){ |
| 108 | 111 | int vid; /* Current version */ |
| 109 | 112 |
| --- 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 |