# # # patch "monotone.texi" # from [abd7160576898d8bc863dbf84d62d2790d760a20] # to [c91a67fab8ab498476cfde105585fe125176d5c6] # ============================================================ --- monotone.texi abd7160576898d8bc863dbf84d62d2790d760a20 +++ monotone.texi c91a67fab8ab498476cfde105585fe125176d5c6 @@ -4642,8 +4642,8 @@ @section Workspace directory is used. address@hidden mtn add @var{pathname...} address@hidden mtn add --unknown address@hidden mtn add [--recursive | -R] [--no-respect-ignore] @var{pathname...} address@hidden mtn add [--recursive | -R] [--no-respect-ignore] --unknown address@hidden This command places ``add'' entries for the paths specified in @var{pathname...} in the workspace's ``work list''. The work list of your workspace is stored in @file{_MTN/revision}, and is a list of @@ -4660,6 +4660,13 @@ @section Workspace which it will then commit to the database. The new revision will have any added entries inserted in its manifest. +Adding directories, whether explicitly or using the @option{--unknown} +option, is non-recursive by default. The @command{add} command can be +made recursive using the @option{--recursive} option. When adding a +directory non-recursively, monotone will warn if the directory is not +empty (for reasons of implementation simplicity, this warning appears +even if there are only ignorable files in the directory). + @item mtn [--no-respect-ignore] mkdir @var{directory...} This command creates a directory in the filesystem relative to your current location and adds it to your workspace's ``work list''. The