Fossil SCM

Fix typos in the "fossil update" logic.

drh 2013-08-26 18:00 trunk
Commit 5a1d13ee502c5c1f32b51af3fe0beca5fe3ffbd8
1 file changed +2 -2
+2 -2
--- src/update.c
+++ src/update.c
@@ -224,11 +224,11 @@
224224
" islinkv BOOLEAN," /* True if current file is a link */
225225
" islinkt BOOLEAN," /* True if target file is a link */
226226
" ridv INTEGER," /* Record ID for current version */
227227
" ridt INTEGER," /* Record ID for target */
228228
" isexe BOOLEAN," /* Does target have execute permission? */
229
- " deleted BOOLEAN DEFAULT 0,"/* File marke by "rm" to become unmanaged */
229
+ " deleted BOOLEAN DEFAULT 0,"/* File marked by "rm" to become unmanaged */
230230
" fnt TEXT %s" /* Filename of same file on target version */
231231
");",
232232
filename_collation(), filename_collation()
233233
);
234234
@@ -400,11 +400,11 @@
400400
if( !dryRunFlag ) vfile_to_disk(0, idt, 0, 0);
401401
}else if( idt>0 && idv>0 && ridt!=ridv && (chnged==0 || deleted) ){
402402
/* The file is unedited. Change it to the target version */
403403
undo_save(zName);
404404
if( deleted ){
405
- fossil_print("UPDATE %s - change to unmanged file\n", zName);
405
+ fossil_print("UPDATE %s - change to unmanaged file\n", zName);
406406
}else{
407407
fossil_print("UPDATE %s\n", zName);
408408
}
409409
if( !dryRunFlag ) vfile_to_disk(0, idt, 0, 0);
410410
}else if( idt>0 && idv>0 && file_wd_size(zFullPath)<0 ){
411411
--- src/update.c
+++ src/update.c
@@ -224,11 +224,11 @@
224 " islinkv BOOLEAN," /* True if current file is a link */
225 " islinkt BOOLEAN," /* True if target file is a link */
226 " ridv INTEGER," /* Record ID for current version */
227 " ridt INTEGER," /* Record ID for target */
228 " isexe BOOLEAN," /* Does target have execute permission? */
229 " deleted BOOLEAN DEFAULT 0,"/* File marke by "rm" to become unmanaged */
230 " fnt TEXT %s" /* Filename of same file on target version */
231 ");",
232 filename_collation(), filename_collation()
233 );
234
@@ -400,11 +400,11 @@
400 if( !dryRunFlag ) vfile_to_disk(0, idt, 0, 0);
401 }else if( idt>0 && idv>0 && ridt!=ridv && (chnged==0 || deleted) ){
402 /* The file is unedited. Change it to the target version */
403 undo_save(zName);
404 if( deleted ){
405 fossil_print("UPDATE %s - change to unmanged file\n", zName);
406 }else{
407 fossil_print("UPDATE %s\n", zName);
408 }
409 if( !dryRunFlag ) vfile_to_disk(0, idt, 0, 0);
410 }else if( idt>0 && idv>0 && file_wd_size(zFullPath)<0 ){
411
--- src/update.c
+++ src/update.c
@@ -224,11 +224,11 @@
224 " islinkv BOOLEAN," /* True if current file is a link */
225 " islinkt BOOLEAN," /* True if target file is a link */
226 " ridv INTEGER," /* Record ID for current version */
227 " ridt INTEGER," /* Record ID for target */
228 " isexe BOOLEAN," /* Does target have execute permission? */
229 " deleted BOOLEAN DEFAULT 0,"/* File marked by "rm" to become unmanaged */
230 " fnt TEXT %s" /* Filename of same file on target version */
231 ");",
232 filename_collation(), filename_collation()
233 );
234
@@ -400,11 +400,11 @@
400 if( !dryRunFlag ) vfile_to_disk(0, idt, 0, 0);
401 }else if( idt>0 && idv>0 && ridt!=ridv && (chnged==0 || deleted) ){
402 /* The file is unedited. Change it to the target version */
403 undo_save(zName);
404 if( deleted ){
405 fossil_print("UPDATE %s - change to unmanaged file\n", zName);
406 }else{
407 fossil_print("UPDATE %s\n", zName);
408 }
409 if( !dryRunFlag ) vfile_to_disk(0, idt, 0, 0);
410 }else if( idt>0 && idv>0 && file_wd_size(zFullPath)<0 ){
411

Keyboard Shortcuts

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