When tracking third party software in Fossil, I want to have better support for checking external source in in full.

Handling it manually is tiresome:
<pre>
fossil open vendor --keep
fossil add $(fossil extras --dotfiles)
fossil rm $(fossil changes | awk '$1 == "MISSING" {print $2}'
fossil ci -m "Import vendor version 6.6.6"
</pre>
The shell magic is error-prone, it works badly with files containing white space in names, it is good luck I haven't run into problems yet.

I propose to create some "import" command that synchronizes inventory with file system.

I support this. The import command should also add a non-propagating tag like CVS does to make it easier to keep that of what version was imported.

I have added an experimental IMPORT command to my branch wolfgangHelpCmd (checkin [b37d5f256e]).

Maybe you take a look at it and/or test it in your environment.

The command help is:

<pre>
Usage: fossil.exe import

If used in a checkout, the current checkout file tree is synchronized
with the repository:
 * all files, existing in the file tree but not in the repository
   (files displayed using the "extra" command)
   are added to the repository - see also "add"
 * all files, existing in the repository, not existing in the file tree
   (files displayed as MISSING using the "status" command)
   are removed from the repository - see also "rm"
The command does not "commit"!

This command can be used to track third party software.
</pre>

best regards