forked from transpect/svn-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsvn-unlock-declaration.xpl
31 lines (26 loc) · 1.05 KB
/
svn-unlock-declaration.xpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc"
xmlns:c="http://www.w3.org/ns/xproc-step"
xmlns:tr="http://transpect.io"
xmlns:svn="http://transpect.io/svn"
name="svn-unlock"
type="svn:unlock"
version="1.0">
<p:option name="repo" select="'repo'"/>
<p:option name="username" select="'user'"/>
<p:option name="password" select="'pass'"/>
<p:option name="path" select="'MyFile.xml'"/>
<p:option name="break-lock" select="'no'"/>
<p:option name="message" select="'file unlocked'"/>
<p:output port="result" sequence="true"/>
<p:import href="svn-lock-declaration.xpl"/>
<svn:lock name="svn-lock">
<p:with-option name="repo" select="$repo"/>
<p:with-option name="username" select="$username"/>
<p:with-option name="password" select="$password"/>
<p:with-option name="path" select="$path"/>
<p:with-option name="unlock" select="'yes'"/>
<p:with-option name="break-lock" select="'no'"/>
<p:with-option name="message" select="$message"/>
</svn:lock>
</p:declare-step>