98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
** --latest acceptable in place of VERSION, update to latest version
** --force-missing force update if missing content after sync
** --no-dir-symlinks Disables support for directory symlinks.
** -n|--dry-run If given, display instead of run actions
** -v|--verbose print status information about all files
** -W|--width <num> Width of lines (default is to auto-detect). Must be >20
** or 0 (= no limit, resulting in a single line per entry).
**
** See also: revert
*/
void update_cmd(void){
int vid; /* Current version */
int tid=0; /* Target version - version we are changing to */
Stmt q;
int latestFlag; /* --latest. Pick the latest version if true */
int dryRunFlag; /* -n or --dry-run. Do a dry run */
|
<
<
|
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
** --latest acceptable in place of VERSION, update to latest version
** --force-missing force update if missing content after sync
** --no-dir-symlinks Disables support for directory symlinks.
** -n|--dry-run If given, display instead of run actions
** -v|--verbose print status information about all files
** -W|--width <num> Width of lines (default is to auto-detect). Must be >20
** or 0 (= no limit, resulting in a single line per entry).
*/
void update_cmd(void){
int vid; /* Current version */
int tid=0; /* Target version - version we are changing to */
Stmt q;
int latestFlag; /* --latest. Pick the latest version if true */
int dryRunFlag; /* -n or --dry-run. Do a dry run */
|
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
|
manifest_destroy(pManifest);
/* Return 1 on success and (assuming fatal is not set) 0 if not found. */
return result;
}
/*
** COMMAND: revert
**
** Usage: %fossil revert ?-r REVISION? ?FILE ...?
**
** Revert to the current repository version of FILE, or to
** the version associated with baseline REVISION if the -r flag
** appears.
**
|
|
|
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
|
manifest_destroy(pManifest);
/* Return 1 on success and (assuming fatal is not set) 0 if not found. */
return result;
}
/*
** COMMAND: revert*
**
** Usage: %fossil revert ?-r REVISION? ?FILE ...?
**
** Revert to the current repository version of FILE, or to
** the version associated with baseline REVISION if the -r flag
** appears.
**
|