docs/src/lock.md

changeset 320
12ed560c926c
parent 285
02d3e4b1245f
equal deleted inserted replaced
319:2433b5969d44 320:12ed560c926c
10 10
11 **`-p`** disable file name and path decryption if enabled 11 **`-p`** disable file name and path decryption if enabled
12 12
13 **`-c`** enable file name and path decryption 13 **`-c`** enable file name and path decryption
14 14
15 **`-T <seconds>`** specify the lock token timeout in seconds
16
15 ### Example 1: lock resource and use the lock token 17 ### Example 1: lock resource and use the lock token
16 18
17 $ dav lock myserv/resource 19 $ dav lock myserv/resource
18 opaquelocktoken:0454905e-f2ff-45c4-a3d7-5c4e4db5ce37 20 opaquelocktoken:0454905e-f2ff-45c4-a3d7-5c4e4db5ce37
19 $ dav put -L opaquelocktoken:0454905e-f2ff-45c4-a3d7-5c4e4db5ce37 myserv/resource newfile 21 $ dav put -L opaquelocktoken:0454905e-f2ff-45c4-a3d7-5c4e4db5ce37 myserv/resource newfile

mercurial