docs/src/pull.md

changeset 273
c743721d566f
child 282
3070d72f54af
equal deleted inserted replaced
272:b321a3be0a38 273:c743721d566f
1 dav-sync pull
2 =============
3
4 **`pull [-cld] <directory>`**
5
6 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
8 When a trash directory is configured for the SyncDirectory, all files that should be deleted are moved to the trash directory.
9
10 When backup-on-pull is enabled for the SyncDirectory, all files that should be overridden are moved to the trash.
11
12 **`-c`** Disable conflict detection. This always overrides locally modified files
13
14 **`-l`** Lock the repository before accessing it. After `pull` completed, the repository is unlocked
15
16 **`-d`** Don't lock the repository
17
18

mercurial