# pijul dependencies

Output dependencies between patches in dot.

## Usage

pijul dependencies [-h | --help] [-V | --version] [--repository <repository>] [--branch <branch>] [--depth <depth>] [<hash>…]


## Description

Print dependencies between patches in the dot graph description format, on the standard output.

If a list of patch hashes is given as <hash>…, only their dependencies are printed. Else, the dependencies of all patches are printed.

By default, only direct dependencies are output. This can be changed by running this command with a non-zero <depth>. The depth does not count the patch itself, i.e. depth 1 means that only direct dependencies are output.

## Example

With graphviz installed, one can turn the output into a PDF:

pijul dependencies | dot -Tpdf -o dependencies.pdf


## Options

• -h, --help

Print a help message and exit.

• -V, --version

Print the version of Pijul and exit.

• --repository <repository>

Don't run this command in the current directory, run it in <repository> instead.

• --branch <branch>

Reset to branch <branch> instead of the current branch (the default).

• --depth <depth>

Recursion depth when traversing the dependency graph. This parameter does not include the patch itself, i.e. depth 1 will show the patch and its direct dependencies.

• <hash>…

Show dependencies for that list of patches only. If missing, show the dependencies of all patches in the repository.