Index: src/add.c ================================================================== --- src/add.c +++ src/add.c @@ -39,10 +39,14 @@ static const char *const azName[] = { "_FOSSIL_", "_FOSSIL_-journal", "_FOSSIL_-wal", "_FOSSIL_-shm", + "_BACKUP_", + "_BACKUP_-journal", + "_BACKUP_-wal", + "_BACKUP_-shm", ".fslckout", ".fslckout-journal", ".fslckout-wal", ".fslckout-shm", @@ -506,10 +510,13 @@ Stmt q; int vid; int nAdd = 0; int nDelete = 0; Glob *pIgnore, *pClean; + + printf ("This command is intentionally disbled.\n"); + return; if( !dryRunFlag ){ dryRunFlag = find_option("test",0,0)!=0; /* deprecated */ } capture_case_sensitive_option(); Index: src/checkin.c ================================================================== --- src/checkin.c +++ src/checkin.c @@ -450,10 +450,13 @@ int cwdRelative = 0; Glob *pIgnore; Blob rewrittenPathname; const char *zPathname, *zDisplayName; + printf ("This command is intentionally disbled.\n"); + return; + if( find_option("temp",0,0)!=0 ) scanFlags |= SCAN_TEMP; capture_case_sensitive_option(); db_must_be_within_tree(); cwdRelative = determine_cwd_relative_option(); if( zIgnoreFlag==0 ){ @@ -552,11 +555,14 @@ int emptyDirsFlag, dirsOnlyFlag; unsigned scanFlags = 0; const char *zIgnoreFlag, *zKeepFlag, *zCleanFlag; Glob *pIgnore, *pKeep, *pClean; int nRoot; - + + printf ("This command is intentionally disbled.\n"); + return; + dryRunFlag = find_option("dry-run","n",0)!=0; if( !dryRunFlag ){ dryRunFlag = find_option("test",0,0)!=0; /* deprecated */ } if( !dryRunFlag ){ Index: src/db.c ================================================================== --- src/db.c +++ src/db.c @@ -962,11 +962,11 @@ ** is found, it is attached to the open database connection too. */ int db_open_local(const char *zDbName){ int i, n; char zPwd[2000]; - static const char aDbName[][10] = { "_FOSSIL_", ".fslckout", ".fos" }; + static const char aDbName[][10] = { "_BACKUP_" }; if( g.localOpen ) return 1; file_getcwd(zPwd, sizeof(zPwd)-20); n = strlen(zPwd); while( n>0 ){ @@ -2045,15 +2045,11 @@ } if( !allowNested && db_open_local(0) ){ fossil_fatal("already within an open tree rooted at %s", g.zLocalRoot); } db_open_repository(g.argv[2]); -#if defined(_WIN32) || defined(__CYGWIN__) -# define LOCALDB_NAME "./_FOSSIL_" -#else -# define LOCALDB_NAME "./.fslckout" -#endif +#define LOCALDB_NAME "./_BACKUP_" db_init_database(LOCALDB_NAME, zLocalSchema, #ifdef FOSSIL_LOCAL_WAL "COMMIT; PRAGMA journal_mode=WAL; BEGIN;", #endif (char*)0); Index: src/main.mk ================================================================== --- src/main.mk +++ src/main.mk @@ -350,11 +350,11 @@ $(OBJDIR)/wysiwyg.o \ $(OBJDIR)/xfer.o \ $(OBJDIR)/xfersetup.o \ $(OBJDIR)/zip.o -APPNAME = fossil$(E) +APPNAME = backup$(E) all: $(OBJDIR) $(APPNAME) Index: src/undo.c ================================================================== --- src/undo.c +++ src/undo.c @@ -322,11 +322,11 @@ ** Complete the undo process is one is currently in process. */ void undo_finish(void){ if( undoActive ){ if( undoNeedRollback ){ - fossil_print(" \"fossil undo\" is available to undo changes" + fossil_print(" \"backup undo\" is available to undo changes" " to the working checkout.\n"); } undoActive = 0; undoNeedRollback = 0; } Index: src/vfile.c ================================================================== --- src/vfile.c +++ src/vfile.c @@ -363,18 +363,13 @@ */ int vfile_top_of_checkout(const char *zPath){ char *zFile; int fileFound = 0; - zFile = mprintf("%s/_FOSSIL_", zPath); + zFile = mprintf("%s/_BACKUP_", zPath); fileFound = file_size(zFile)>=1024; fossil_free(zFile); - if( !fileFound ){ - zFile = mprintf("%s/.fslckout", zPath); - fileFound = file_size(zFile)>=1024; - fossil_free(zFile); - } /* Check for ".fos" for legacy support. But the use of ".fos" as the ** per-checkout database name is deprecated. At some point, all support ** for ".fos" will end and this code should be removed. This comment ** added on 2012-02-04. Index: win/Makefile.mingw ================================================================== --- win/Makefile.mingw +++ win/Makefile.mingw @@ -615,11 +615,11 @@ $(OBJDIR)/wysiwyg.o \ $(OBJDIR)/xfer.o \ $(OBJDIR)/xfersetup.o \ $(OBJDIR)/zip.o -APPNAME = fossil.exe +APPNAME = backup.exe #### If the USE_WINDOWS variable exists, it is assumed that we are building # inside of a Windows-style shell; otherwise, it is assumed that we are # building inside of a Unix-style shell. Note that the "move" command is # broken when attempting to use it from the Windows shell via MinGW make