docs/src/lock.md

changeset 285
02d3e4b1245f
parent 283
0e36bb75a732
child 320
12ed560c926c
equal deleted inserted replaced
284:8e7ef0675946 285:02d3e4b1245f
1 --- 1 ---
2 title: 'dav lock' 2 title: 'dav lock'
3 --- 3 ---
4 4
5 **`lock [-pc] <url>`** 5 **`dav lock [-pc] <url>`**
6 6
7 Creates a lock on the resource specified by the *url*. The lock is an exclusive write lock with infinite depth. 7 Creates a lock on the resource specified by the *url*. The lock is an exclusive write lock with infinite depth.
8 8
9 If the resource is successfully locked, a lock token for this resource is printed to stdout. This lock token should be saved somewhere to unlock the resource eventually. 9 If the resource is successfully locked, a lock token for this resource is printed to stdout. This lock token should be saved somewhere to unlock the resource eventually.
10 10

mercurial