Fossil

Check-in [fd13b1a1]
Login

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

Overview
Comment:Fix the "fossil setting" command so that it can change the manifest setting even when not within a local check-out.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: fd13b1a16f8b4f0aaf43d889f9019745125a8fed
User & Date: drh 2011-07-14 11:24:11.610
Context
2011-07-14
13:02
Added the Checklist for Successful Open-Source Projects document. /doc/trunk/www/foss-cklist.wiki ... (check-in: 34177b00 user: drh tags: trunk)
11:24
Fix the "fossil setting" command so that it can change the manifest setting even when not within a local check-out. ... (check-in: fd13b1a1 user: drh tags: trunk)
11:09
Modify auto.def to detect the case where the system SQLite is too old for WAL support (used by fossil). ... (check-in: 5fe55cb1 user: dan tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/db.c.
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
      db_unset(ctrlSettings[i].name, globalFlag);
    }else if( g.argc==4 ){
      db_set(ctrlSettings[i].name, g.argv[3], globalFlag);
    }else{
      isManifest = 0;
      print_setting(ctrlSettings[i].name);
    }
    if( isManifest ){
      manifest_to_disk(db_lget_int("checkout", 0));
    }
  }else{
    usage("?PROPERTY? ?VALUE?");
  }
}








|







1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
      db_unset(ctrlSettings[i].name, globalFlag);
    }else if( g.argc==4 ){
      db_set(ctrlSettings[i].name, g.argv[3], globalFlag);
    }else{
      isManifest = 0;
      print_setting(ctrlSettings[i].name);
    }
    if( isManifest && g.localOpen ){
      manifest_to_disk(db_lget_int("checkout", 0));
    }
  }else{
    usage("?PROPERTY? ?VALUE?");
  }
}