docs/src/pull.md

changeset 409
90a6d6952d83
parent 285
02d3e4b1245f
equal deleted inserted replaced
408:f71eab18ed38 409:90a6d6952d83
1 --- 1 ---
2 title: 'dav-sync pull' 2 title: 'dav-sync pull'
3 --- 3 ---
4 4
5 **`dav-sync pull [-cld] <directory>`** 5 **`dav-sync pull [-cldr] [-t <tags>] <directory>`**
6 6
7 Pulls all changes from the server. All new or modified files are downloaded and all files deleted on the server are deleted locally. If a file is also locally modified and conflict detection is not disabled, the local file is renamed and an entry in the conflict database is added. 7 Pulls all changes from the server. All new or modified files are downloaded and all files deleted on the server are deleted locally. If a file is also locally modified and conflict detection is not disabled, the local file is renamed and an entry in the conflict database is added.
8 8
9 When a trash directory is configured for the SyncDirectory, all files that would be deleted are instead moved to the trash directory. 9 When a trash directory is configured for the SyncDirectory, all files that would be deleted are instead moved to the trash directory.
10 10
14 14
15 **`-l`** Lock the repository before accessing it. After `pull` completed, the repository is unlocked 15 **`-l`** Lock the repository before accessing it. After `pull` completed, the repository is unlocked
16 16
17 **`-d`** Don't lock the repository (default) 17 **`-d`** Don't lock the repository (default)
18 18
19 **`-t <tags>`** Only sync files that match the tag filter expression
19 20
21 **`-r`** Delete files not matching the tag filter
22

mercurial