Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Make sure that the 'open' command honors the global 'allow-symlinks' setting in addition to the versioned and per-repository ones. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | unixSymlinks |
Files: | files | file ages | folders |
SHA1: |
8aed22a23167e5e3c2d2ab0f6e438519 |
User & Date: | mistachkin 2015-11-03 21:46:43 |
Context
2015-11-03
| ||
21:50 | Enable symlinks by default on non-Windows platforms and make sure that the 'open' command honors the global 'allow-symlinks' setting in addition to the versioned and per-repository ones. ... (check-in: 9ecbfb37 user: mistachkin tags: trunk) | |
21:46 | Make sure that the 'open' command honors the global 'allow-symlinks' setting in addition to the versioned and per-repository ones. ... (Closed-Leaf check-in: 8aed22a2 user: mistachkin tags: unixSymlinks) | |
19:51 | Enable 'allow-symlinks' setting by default on non-Windows platforms. ... (check-in: 6ee986b1 user: mistachkin tags: unixSymlinks) | |
Changes
Changes to src/db.c.
︙ | ︙ | |||
2245 2246 2247 2248 2249 2250 2251 | if( g.argc==4 ){ g.zOpenRevision = g.argv[3]; }else if( db_exists("SELECT 1 FROM event WHERE type='ci'") ){ g.zOpenRevision = db_get("main-branch", "trunk"); } } | < < < < < < > > > > > | 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 | if( g.argc==4 ){ g.zOpenRevision = g.argv[3]; }else if( db_exists("SELECT 1 FROM event WHERE type='ci'") ){ g.zOpenRevision = db_get("main-branch", "trunk"); } } #if defined(_WIN32) || defined(__CYGWIN__) # define LOCALDB_NAME "./_FOSSIL_" #else # define LOCALDB_NAME "./.fslckout" #endif db_init_database(LOCALDB_NAME, zLocalSchema, #ifdef FOSSIL_LOCAL_WAL "COMMIT; PRAGMA journal_mode=WAL; BEGIN;", #endif (char*)0); db_delete_on_failure(LOCALDB_NAME); db_open_local(0); if( g.zOpenRevision ){ /* Since the repository is open and we know the revision now, ** refresh the allow-symlinks flag. */ g.allowSymlinks = db_get_boolean("allow-symlinks", 0); } db_lset("repository", g.argv[2]); db_record_repository_filename(g.argv[2]); db_lset_int("checkout", 0); azNewArgv[0] = g.argv[0]; g.argv = azNewArgv; if( !emptyFlag ){ g.argc = 3; |
︙ | ︙ |