mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-03-07 14:30:37 +08:00
v0.0.2
This commit is contained in:
@@ -1,115 +1,115 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>Export the contents of a SVN directory</title>
|
||||
</head>
|
||||
<body class="docs"><div id="layout">
|
||||
<div id="layout-content"><div id="function.svn-export" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">svn_export</h1>
|
||||
<p class="verinfo">(PECL svn >= 0.3.0)</p><p class="refpurpose"><span class="refname">svn_export</span> — <span class="dc-title">Export the contents of a SVN directory</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.svn-export-description">
|
||||
<h3 class="title">说明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="methodname"><strong>svn_export</strong></span>
|
||||
( <span class="methodparam"><span class="type">string</span> <code class="parameter">$frompath</code></span>
|
||||
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$topath</code></span>
|
||||
[, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$working_copy</code><span class="initializer"> = <strong><code>TRUE</code></strong></span></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$revision_no</code><span class="initializer"> = -1</span></span>
|
||||
]] ) : <span class="type">bool</span></div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
Export the contents of either a working copy or repository into a
|
||||
'clean' directory.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.svn-export-parameters">
|
||||
<h3 class="title">参数</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">frompath</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
The path to the current repository.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">topath</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
The path to the new repository.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">working_copy</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
If <strong><code>TRUE</code></strong>, it will export uncommitted files from the working copy.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="refsect1 returnvalues" id="refsect1-function.svn-export-returnvalues">
|
||||
<h3 class="title">返回值</h3>
|
||||
<p class="para">
|
||||
成功时返回 <strong><code>TRUE</code></strong>, 或者在失败时返回 <strong><code>FALSE</code></strong>。
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 examples" id="refsect1-function.svn-export-examples">
|
||||
<h3 class="title">范例</h3>
|
||||
<p class="para">
|
||||
<div class="example" id="example-5672">
|
||||
<p><strong>Example #1 <span class="function"><strong>svn_export()</strong></span> example</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><pre><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br />$working_dir </span><span style="color: #007700">= </span><span style="color: #DD0000">'../'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$new_working_dir </span><span style="color: #007700">= </span><span style="color: #DD0000">'/home/user/devel/foo/trunk'</span><span style="color: #007700">;<br /><br /></span><span style="color: #0000BB">svn_export</span><span style="color: #007700">(</span><span style="color: #0000BB">$working_dir</span><span style="color: #007700">, </span><span style="color: #0000BB">$new_working_dir</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 seealso" id="refsect1-function.svn-export-seealso">
|
||||
<h3 class="title">参见</h3>
|
||||
<p class="para">
|
||||
<ul class="simplelist">
|
||||
<li class="member"><span class="function"><a href="svn_import.html" class="function" rel="rdfs-seeAlso">svn_import()</a> - Imports an unversioned path into a repository</span></li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>Export the contents of a SVN directory</title>
|
||||
</head>
|
||||
<body class="docs"><div id="layout">
|
||||
<div id="layout-content"><div id="function.svn-export" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">svn_export</h1>
|
||||
<p class="verinfo">(PECL svn >= 0.3.0)</p><p class="refpurpose"><span class="refname">svn_export</span> — <span class="dc-title">Export the contents of a SVN directory</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.svn-export-description">
|
||||
<h3 class="title">说明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="methodname"><strong>svn_export</strong></span>
|
||||
( <span class="methodparam"><span class="type">string</span> <code class="parameter">$frompath</code></span>
|
||||
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$topath</code></span>
|
||||
[, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$working_copy</code><span class="initializer"> = <strong><code>TRUE</code></strong></span></span>
|
||||
[, <span class="methodparam"><span class="type">int</span> <code class="parameter">$revision_no</code><span class="initializer"> = -1</span></span>
|
||||
]] ) : <span class="type">bool</span></div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
Export the contents of either a working copy or repository into a
|
||||
'clean' directory.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.svn-export-parameters">
|
||||
<h3 class="title">参数</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">frompath</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
The path to the current repository.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">topath</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
The path to the new repository.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">working_copy</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
If <strong><code>TRUE</code></strong>, it will export uncommitted files from the working copy.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="refsect1 returnvalues" id="refsect1-function.svn-export-returnvalues">
|
||||
<h3 class="title">返回值</h3>
|
||||
<p class="para">
|
||||
成功时返回 <strong><code>TRUE</code></strong>, 或者在失败时返回 <strong><code>FALSE</code></strong>。
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 examples" id="refsect1-function.svn-export-examples">
|
||||
<h3 class="title">范例</h3>
|
||||
<p class="para">
|
||||
<div class="example" id="example-5672">
|
||||
<p><strong>Example #1 <span class="function"><strong>svn_export()</strong></span> example</strong></p>
|
||||
<div class="example-contents">
|
||||
<div class="phpcode"><pre><span style="color: #000000">
|
||||
<span style="color: #0000BB"><?php<br />$working_dir </span><span style="color: #007700">= </span><span style="color: #DD0000">'../'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">$new_working_dir </span><span style="color: #007700">= </span><span style="color: #DD0000">'/home/user/devel/foo/trunk'</span><span style="color: #007700">;<br /><br /></span><span style="color: #0000BB">svn_export</span><span style="color: #007700">(</span><span style="color: #0000BB">$working_dir</span><span style="color: #007700">, </span><span style="color: #0000BB">$new_working_dir</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?></span>
|
||||
</span>
|
||||
</pre></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 seealso" id="refsect1-function.svn-export-seealso">
|
||||
<h3 class="title">参见</h3>
|
||||
<p class="para">
|
||||
<ul class="simplelist">
|
||||
<li class="member"><span class="function"><a href="svn_import.html" class="function" rel="rdfs-seeAlso">svn_import()</a> - Imports an unversioned path into a repository</span></li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div></div></div></body></html>
|
||||
Reference in New Issue
Block a user