Fossil SCM

doc fix

jan.nijtmans 2013-05-20 10:58 trunk
Commit 122b631c31f46da462d4b1e82cf78f983207d44a
1 file changed +2 -2
+2 -2
--- src/update.c
+++ src/update.c
@@ -77,11 +77,11 @@
7777
** named files are candidates to be updated. If FILES is omitted, all
7878
** files in the current checkout are subject to be updated. Using
7979
** a directory name for one of the FILES arguments is the same as
8080
** using every subdirectory and file beneath that directory.
8181
**
82
-** The -n or --nochange option causes this command to do a "dry run". It
82
+** The -n or --dry-run option causes this command to do a "dry run". It
8383
** prints out what would have happened but does not actually make any
8484
** changes to the current checkout or the repository.
8585
**
8686
** The -v or --verbose option prints status information about unchanged
8787
** files in addition to those file that actually do change.
@@ -532,11 +532,11 @@
532532
533533
/*
534534
** Clean up the mid and pid VFILE entries. Then commit the changes.
535535
*/
536536
if( dryRunFlag ){
537
- db_end_transaction(1); /* With --nochange, rollback changes */
537
+ db_end_transaction(1); /* With --dry-run, rollback changes */
538538
}else{
539539
ensure_empty_dirs_created();
540540
if( g.argc<=3 ){
541541
/* All files updated. Shift the current checkout to the target. */
542542
db_multi_exec("DELETE FROM vfile WHERE vid!=%d", tid);
543543
--- src/update.c
+++ src/update.c
@@ -77,11 +77,11 @@
77 ** named files are candidates to be updated. If FILES is omitted, all
78 ** files in the current checkout are subject to be updated. Using
79 ** a directory name for one of the FILES arguments is the same as
80 ** using every subdirectory and file beneath that directory.
81 **
82 ** The -n or --nochange option causes this command to do a "dry run". It
83 ** prints out what would have happened but does not actually make any
84 ** changes to the current checkout or the repository.
85 **
86 ** The -v or --verbose option prints status information about unchanged
87 ** files in addition to those file that actually do change.
@@ -532,11 +532,11 @@
532
533 /*
534 ** Clean up the mid and pid VFILE entries. Then commit the changes.
535 */
536 if( dryRunFlag ){
537 db_end_transaction(1); /* With --nochange, rollback changes */
538 }else{
539 ensure_empty_dirs_created();
540 if( g.argc<=3 ){
541 /* All files updated. Shift the current checkout to the target. */
542 db_multi_exec("DELETE FROM vfile WHERE vid!=%d", tid);
543
--- src/update.c
+++ src/update.c
@@ -77,11 +77,11 @@
77 ** named files are candidates to be updated. If FILES is omitted, all
78 ** files in the current checkout are subject to be updated. Using
79 ** a directory name for one of the FILES arguments is the same as
80 ** using every subdirectory and file beneath that directory.
81 **
82 ** The -n or --dry-run option causes this command to do a "dry run". It
83 ** prints out what would have happened but does not actually make any
84 ** changes to the current checkout or the repository.
85 **
86 ** The -v or --verbose option prints status information about unchanged
87 ** files in addition to those file that actually do change.
@@ -532,11 +532,11 @@
532
533 /*
534 ** Clean up the mid and pid VFILE entries. Then commit the changes.
535 */
536 if( dryRunFlag ){
537 db_end_transaction(1); /* With --dry-run, rollback changes */
538 }else{
539 ensure_empty_dirs_created();
540 if( g.argc<=3 ){
541 /* All files updated. Shift the current checkout to the target. */
542 db_multi_exec("DELETE FROM vfile WHERE vid!=%d", tid);
543

Keyboard Shortcuts

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