Fossil

Check-in [432306beca]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:On unix, use the ".fslckout" name instead of "_FOSSIL_" for the local checkout database. Both names have been and continue to recognized. But now ".fslckout" is created by "fossil open" instead of "_FOSSIL_". the "_FOSSIL_" name is still used on windows.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 432306beca45e1f81813ffa39cd785003d86ad2e
User & Date: drh 2012-06-08 03:12:01.537
Context
2012-06-10
22:29
If files named on the "fossil add" command are not present, make that a warning rather than a fatal error. check-in: 810976a750 user: drh tags: trunk
2012-06-08
03:12
On unix, use the ".fslckout" name instead of "_FOSSIL_" for the local checkout database. Both names have been and continue to recognized. But now ".fslckout" is created by "fossil open" instead of "_FOSSIL_". the "_FOSSIL_" name is still used on windows. check-in: 432306beca user: drh tags: trunk
2012-06-07
13:30
Update the built-in SQLite to the first 3.7.13 beta. check-in: 990c4d4437 user: drh tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/db.c.
1791
1792
1793
1794
1795
1796
1797





1798
1799
1800
1801
1802
1803
1804
1805
1806
    usage("REPOSITORY-FILENAME ?VERSION?");
  }
  if( !allowNested && db_open_local() ){
    fossil_panic("already within an open tree rooted at %s", g.zLocalRoot);
  }
  file_canonical_name(g.argv[2], &path, 0);
  db_open_repository(blob_str(&path));





  db_init_database("./_FOSSIL_", zLocalSchema, (char*)0);
  db_delete_on_failure("./_FOSSIL_");
  db_open_local();
  db_lset("repository", g.argv[2]);
  db_record_repository_filename(blob_str(&path));
  vid = db_int(0, "SELECT pid FROM plink y"
                  " WHERE NOT EXISTS(SELECT 1 FROM plink x WHERE x.cid=y.pid)");
  if( vid==0 ){
    db_lset_int("checkout", 1);







>
>
>
>
>
|
|







1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
    usage("REPOSITORY-FILENAME ?VERSION?");
  }
  if( !allowNested && db_open_local() ){
    fossil_panic("already within an open tree rooted at %s", g.zLocalRoot);
  }
  file_canonical_name(g.argv[2], &path, 0);
  db_open_repository(blob_str(&path));
#if defined(_WIN32)
# define LOCALDB_NAME "./_FOSSIL_"
#else
# define LOCALDB_NAME "./.fslckout"
#endif
  db_init_database(LOCALDB_NAME, zLocalSchema, (char*)0);
  db_delete_on_failure(LOCALDB_NAME);
  db_open_local();
  db_lset("repository", g.argv[2]);
  db_record_repository_filename(blob_str(&path));
  vid = db_int(0, "SELECT pid FROM plink y"
                  " WHERE NOT EXISTS(SELECT 1 FROM plink x WHERE x.cid=y.pid)");
  if( vid==0 ){
    db_lset_int("checkout", 1);