549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
|
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
|
-
+
|
** setting is non-zero, files WILL BE removed from disk as well.
** This does NOT apply to the 'forget' command.
**
** Options:
** --soft Skip removing files from the checkout.
** This supersedes the --hard option.
** --hard Remove files from the checkout.
** --case-sensitive <BOOL> Override the case-sensitive setting.
** --case-sensitive BOOL Override the case-sensitive setting.
** -n|--dry-run If given, display instead of run actions.
** --reset Reset the DELETED state of a checkout, such
** that all newly-rm'd (but not yet committed)
** files are no longer removed. No flags other
** than --verbose or --dry-run may be used with
** --reset.
** --verbose|-v Outputs information about each --reset file.
|
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
|
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
|
-
+
|
**
** The case-sensitive setting determines the default value. If
** the case-sensitive setting is undefined, then case sensitivity
** defaults off for Cygwin, Mac and Windows and on for all other unix.
** If case-sensitivity is enabled in the windows kernel, the Cygwin port
** of fossil.exe can detect that, and modifies the default to 'on'.
**
** The --case-sensitive <BOOL> command-line option overrides any
** The "--case-sensitive BOOL" command-line option overrides any
** setting.
*/
int filenames_are_case_sensitive(void){
static int caseSensitive;
static int once = 1;
if( once ){
|
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
|
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
|
-
+
|
** setting is non-zero, files WILL BE renamed or moved on disk
** as well. This does NOT apply to the 'rename' command.
**
** Options:
** --soft Skip moving files within the checkout.
** This supersedes the --hard option.
** --hard Move files within the checkout.
** --case-sensitive <BOOL> Override the case-sensitive setting.
** --case-sensitive BOOL Override the case-sensitive setting.
** -n|--dry-run If given, display instead of run actions.
**
** See also: [[changes]], [[status]]
*/
void mv_cmd(void){
int i;
int vid;
|