I *think* dvc-status is supposed to only operate on project roots, at
least it internally uses function:

,----[ C-h f dvc-read-project-tree-maybe RET ]
| dvc-read-project-tree-maybe is a compiled Lisp function in
| `dvc-utils.el'.
| 
| (dvc-read-project-tree-maybe &optional prompt directory
| prefer-current)
| 
| Return a directory name which is the root of some project tree.
|   < snip >
`----

If you want to specify a root of another project, you can modify the
variable :

,----
| dvc-read-project-tree-mode is a variable defined in `dvc-defs.el'.
| Its value is sometimes
| 
| Documentation:
| *Mode for prompting for project tree directories. Possible values are:
| 
| - always: always prompt.
| 
| - unless-specified: If a valid tree directory is given as an
|   argument, use it; otherwise prompt. Some commands modify this
|   to use the current project tree without prompt; then a user arg
|   forces a prompt.
| 
| - sometimes: If a command is run inside a project tree, the tree
|   root is used. Otherwise, prompt.
| 
| - never: If a command is run inside a project tree, use the tree
|   root. Otherwise, raise an error.
| 
| You can customize this variable.
| 
| [back]
`----

Best,
Bojan


-- 
Bojan Nikolic          ||          http://www.bnikolic.co.uk


_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to