Skip to content

Commit cf7d195

Browse files
committed
docs(cli-sync): Update notes for error handling behavior
1 parent c43e617 commit cf7d195

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/cli/sync.md

+16
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@
44

55
# vcspull sync
66

7+
## Error handling
8+
9+
As of 1.13.x, vcspull will continue to the next repo if an error is encountered when syncing multiple repos.
10+
11+
To imitate the old behavior, use `--exit-on-error` / `-x`:
12+
13+
```console
14+
$ vcspull sync --exit-on-error grako django
15+
```
16+
17+
Print traceback for errored repos:
18+
19+
```console
20+
$ vcspull --log-level DEBUG sync --exit-on-error grako django
21+
```
22+
723
```{eval-rst}
824
.. click:: vcspull.cli.sync:sync
925
:prog: vcspull sync

0 commit comments

Comments
 (0)