docs/src/pull.md

Thu, 21 Dec 2017 16:48:58 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 21 Dec 2017 16:48:58 +0100
changeset 357
5dfbf7b45873
parent 285
02d3e4b1245f
child 409
90a6d6952d83
permissions
-rw-r--r--

implements parser for Assignments (previously called SetExpressions) + improves davql debugger regarding DavQLField

Note: we renamed SetExpressions to Assignments so that they are not confused with expressions on sets of elements

---
title: 'dav-sync pull'
---

**`dav-sync pull [-cld] <directory>`**

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.

When a trash directory is configured for the SyncDirectory, all files that would be deleted are instead moved to the trash directory.

When backup-on-pull is enabled for the SyncDirectory, all files that would be overwritten are also moved to the trash.

**`-c`** Disable conflict detection. This always overwrites locally modified files

**`-l`** Lock the repository before accessing it. After `pull` completed, the repository is unlocked

**`-d`** Don't lock the repository (default)

mercurial