Fossil SCM
Add -x as short option for --verily, for compatibility with GIT
Commit
6262e632ee7cffdd1244b36194d40d6e4c97de5d
Parent
c353ee8f9ca66f9…
1 file changed
+2
-2
+2
-2
| --- src/checkin.c | ||
| +++ src/checkin.c | ||
| @@ -657,11 +657,11 @@ | ||
| 657 | 657 | ** argument. Matching files, if any, are removed |
| 658 | 658 | ** prior to checking for any empty directories; |
| 659 | 659 | ** therefore, directories that contain only files |
| 660 | 660 | ** that were removed will be removed as well. |
| 661 | 661 | ** -f|--force Remove files without prompting. |
| 662 | -** --verily Remove everything that is not a managed file or | |
| 662 | +** -x|--verily Remove everything that is not a managed file or | |
| 663 | 663 | ** the repository itself. Imples -f --emptydirs |
| 664 | 664 | ** --dotfiles --ignore '' --keep ''. |
| 665 | 665 | ** --clean <CSG> Never prompt for files matching this |
| 666 | 666 | ** comma separated list of glob patterns. |
| 667 | 667 | ** --ignore <CSG> Ignore files matching patterns from the |
| @@ -699,11 +699,11 @@ | ||
| 699 | 699 | zIgnoreFlag = find_option("ignore",0,1); |
| 700 | 700 | verboseFlag = find_option("verbose","v",0)!=0; |
| 701 | 701 | zKeepFlag = find_option("keep",0,1); |
| 702 | 702 | zCleanFlag = find_option("clean",0,1); |
| 703 | 703 | db_must_be_within_tree(); |
| 704 | - if( find_option("verily",0,0)!=0 ){ | |
| 704 | + if( find_option("verily","x",0)!=0 ){ | |
| 705 | 705 | verilyFlag = allFileFlag = allDirFlag = 1; |
| 706 | 706 | emptyDirsFlag = 1; |
| 707 | 707 | scanFlags |= SCAN_ALL; |
| 708 | 708 | zKeepFlag = 0; |
| 709 | 709 | zIgnoreFlag = 0; |
| 710 | 710 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -657,11 +657,11 @@ | |
| 657 | ** argument. Matching files, if any, are removed |
| 658 | ** prior to checking for any empty directories; |
| 659 | ** therefore, directories that contain only files |
| 660 | ** that were removed will be removed as well. |
| 661 | ** -f|--force Remove files without prompting. |
| 662 | ** --verily Remove everything that is not a managed file or |
| 663 | ** the repository itself. Imples -f --emptydirs |
| 664 | ** --dotfiles --ignore '' --keep ''. |
| 665 | ** --clean <CSG> Never prompt for files matching this |
| 666 | ** comma separated list of glob patterns. |
| 667 | ** --ignore <CSG> Ignore files matching patterns from the |
| @@ -699,11 +699,11 @@ | |
| 699 | zIgnoreFlag = find_option("ignore",0,1); |
| 700 | verboseFlag = find_option("verbose","v",0)!=0; |
| 701 | zKeepFlag = find_option("keep",0,1); |
| 702 | zCleanFlag = find_option("clean",0,1); |
| 703 | db_must_be_within_tree(); |
| 704 | if( find_option("verily",0,0)!=0 ){ |
| 705 | verilyFlag = allFileFlag = allDirFlag = 1; |
| 706 | emptyDirsFlag = 1; |
| 707 | scanFlags |= SCAN_ALL; |
| 708 | zKeepFlag = 0; |
| 709 | zIgnoreFlag = 0; |
| 710 |
| --- src/checkin.c | |
| +++ src/checkin.c | |
| @@ -657,11 +657,11 @@ | |
| 657 | ** argument. Matching files, if any, are removed |
| 658 | ** prior to checking for any empty directories; |
| 659 | ** therefore, directories that contain only files |
| 660 | ** that were removed will be removed as well. |
| 661 | ** -f|--force Remove files without prompting. |
| 662 | ** -x|--verily Remove everything that is not a managed file or |
| 663 | ** the repository itself. Imples -f --emptydirs |
| 664 | ** --dotfiles --ignore '' --keep ''. |
| 665 | ** --clean <CSG> Never prompt for files matching this |
| 666 | ** comma separated list of glob patterns. |
| 667 | ** --ignore <CSG> Ignore files matching patterns from the |
| @@ -699,11 +699,11 @@ | |
| 699 | zIgnoreFlag = find_option("ignore",0,1); |
| 700 | verboseFlag = find_option("verbose","v",0)!=0; |
| 701 | zKeepFlag = find_option("keep",0,1); |
| 702 | zCleanFlag = find_option("clean",0,1); |
| 703 | db_must_be_within_tree(); |
| 704 | if( find_option("verily","x",0)!=0 ){ |
| 705 | verilyFlag = allFileFlag = allDirFlag = 1; |
| 706 | emptyDirsFlag = 1; |
| 707 | scanFlags |= SCAN_ALL; |
| 708 | zKeepFlag = 0; |
| 709 | zIgnoreFlag = 0; |
| 710 |