Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Make fusefs a 2nd-tier command if it is not supported by the build |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | pending-review |
Files: | files | file ages | folders |
SHA1: |
50d81f95041f631e8a14b1a0e0afd52b |
User & Date: | baruch 2016-01-26 09:18:05.907 |
Context
2016-03-06
| ||
06:35 | Merge updates from trunk. ... (Closed-Leaf check-in: ff4a4fe6 user: mistachkin tags: pending-review) | |
2016-01-26
| ||
09:18 | Make fusefs a 2nd-tier command if it is not supported by the build ... (check-in: 50d81f95 user: baruch tags: pending-review) | |
2016-01-20
| ||
12:15 | Remove even fusefs command from non fuse-enabled builds ... (check-in: 06fd798b user: baruch tags: pending-review) | |
Changes
Changes to src/fusefs.c.
︙ | ︙ | |||
333 334 335 336 337 338 339 340 | azNewArgv[3] = zMountPoint; azNewArgv[4] = 0; g.localOpen = 0; /* Prevent tags like "current" and "prev" */ fuse_main(4, azNewArgv, &fusefs_methods, NULL); fusefs_reset(); fusefs_clear_path(); } #endif /* FOSSIL_HAVE_FUSEFS */ | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 | azNewArgv[3] = zMountPoint; azNewArgv[4] = 0; g.localOpen = 0; /* Prevent tags like "current" and "prev" */ fuse_main(4, azNewArgv, &fusefs_methods, NULL); fusefs_reset(); fusefs_clear_path(); } #else /* ** COMMAND: fusefs* ** ** Usage: %fossil fusefs [--debug] DIRECTORY ** ** THIS BUILD OF FOSSIL DOES NOT SUPPORT THE FUSE FILESYSTEM! ** ** This command uses the Fuse Filesystem to mount a directory at ** DIRECTORY that contains the content of all check-ins in the ** repository. The names of files are DIRECTORY/checkins/VERSION/PATH ** where DIRECTORY is the root of the mount, VERSION is any valid ** check-in name (examples: "trunk" or "tip" or a tag or any unique ** prefix of a SHA1 hash, etc) and PATH is the pathname of the file ** in the check-in. If DIRECTORY does not exist, then an attempt is ** made to create it. ** ** The DIRECTORY/checkins directory is not searchable so one cannot ** do "ls DIRECTORY/checkins" to get a listing of all possible check-in ** names. There are countless variations on check-in names and it is ** impractical to list them all. But all other directories are searchable ** and so the "ls" command will work everywhere else in the fusefs ** file hierarchy. ** ** The FuseFS typically only works on Linux, and then only on Linux ** systems that have the right kernel drivers and have install the ** appropriate support libraries. ** ** After stopping the "fossil fusefs" command, it might also be necessary ** to run "fusermount -u DIRECTORY" to reset the FuseFS before using it ** again. */ void fusefs_cmd(void){ fossil_fatal("this build of fossil does not support the fuse filesystem"); } #endif /* FOSSIL_HAVE_FUSEFS */ |