[svnbook] r4997 committed - Add `svnadmin lock` and `svnadmin unlock` commands introduced in...

svnbook at googlecode.com svnbook at googlecode.com
Mon Feb 23 12:12:40 CST 2015


Revision: 4997
Author:   cmpilato at gmail.com
Date:     Mon Feb 23 18:12:29 2015 UTC
Log:      Add `svnadmin lock` and `svnadmin unlock` commands introduced in
Subversion 1.8 to `svnadmin` reference.

* http://subversion.apache.org/docs/release-notes/1.8.html#svnadmin-lock
* `svnadmin lock`: http://subversion.tigris.org/issues/show_bug.cgi?id=3942
* `svnadmin unlock`:  
http://subversion.tigris.org/issues/show_bug.cgi?id=4092

Patch by: pavel.lyalyakin{_AT_}visualsvn.com
           (Tweaked by me.)
https://code.google.com/p/svnbook/source/detail?r=4997

Modified:
  /trunk/en/book/ref-svnadmin.xml

=======================================
--- /trunk/en/book/ref-svnadmin.xml	Wed Feb 13 21:11:19 2013 UTC
+++ /trunk/en/book/ref-svnadmin.xml	Mon Feb 23 18:12:29 2015 UTC
@@ -847,6 +847,50 @@
      </refsect1>
    </refentry>

+  <!-- =================================================================  
-->
+  <!-- =================================================================  
-->
+  <!-- =================================================================  
-->
+  <refentry id="svn.ref.svnadmin.c.lock">
+
+    <indexterm>
+      <primary>svnadmin</primary>
+      <secondary>subcommands</secondary>
+      <tertiary>lock</tertiary>
+    </indexterm>
+
+    <refnamediv>
+      <refname>svnadmin lock</refname>
+      <refpurpose>Lock path in the repository directly.</refpurpose>
+    </refnamediv>
+
+    <refsynopsisdiv>
+      <para><literal>svnadmin lock REPOS_PATH PATH-IN-REPOS USERNAME FILE
+        [TOKEN]</literal>
+      </para>
+    </refsynopsisdiv>
+
+    <!-- ===============================================================  
-->
+    <refsect1>
+      <title>Description</title>
+
+      <para>Lock <replaceable>PATH-IN-REPOS</replaceable> in the
+        repository (as <replaceable>USERNAME</replaceable>) taking
+        comments from <replaceable>FILE</replaceable>.  If provided,
+        use <replaceable>TOKEN</replaceable> as lock token.</para>
+
+    </refsect1>
+
+    <!-- ===============================================================  
-->
+    <refsect1>
+      <title>Options</title>
+      <informalexample>
+        <screen>
+<xref linkend="svn.ref.svnadmin.sw.bypass_hooks" />
+</screen>
+      </informalexample>
+    </refsect1>
+  </refentry>
+
    <!-- =================================================================  
-->
    <!-- =================================================================  
-->
    <!-- =================================================================  
-->
@@ -1412,6 +1456,48 @@
        <para>As you can see, <command>svnadmin setuuid</command>
          has no output upon success.</para>

+    </refsect1>
+  </refentry>
+  <!-- =================================================================  
-->
+  <!-- =================================================================  
-->
+  <!-- =================================================================  
-->
+  <refentry id="svn.ref.svnadmin.c.unlock">
+
+    <indexterm>
+      <primary>svnadmin</primary>
+      <secondary>subcommands</secondary>
+      <tertiary>unlock</tertiary>
+    </indexterm>
+
+    <refnamediv>
+      <refname>svnadmin unlock</refname>
+      <refpurpose>Unlock path in the repository directly.</refpurpose>
+    </refnamediv>
+
+    <refsynopsisdiv>
+      <para><literal>svnadmin unlock REPOS_PATH LOCKED_PATH USERNAME
+        TOKEN</literal></para>
+    </refsynopsisdiv>
+
+    <!-- ===============================================================  
-->
+    <refsect1>
+      <title>Description</title>
+
+      <para>Unlock <replaceable>LOCKED_PATH</replaceable> in the
+        repository (as <replaceable>USERNAME</replaceable>) after
+        verifying that the token associated with the lock
+        matches <replaceable>TOKEN</replaceable>.</para>
+
+    </refsect1>
+
+    <!-- ===============================================================  
-->
+    <refsect1>
+      <title>Options</title>
+      <informalexample>
+        <screen>
+<xref linkend="svn.ref.svnadmin.sw.bypass_hooks" />
+</screen>
+      </informalexample>
      </refsect1>
    </refentry>




More information about the svnbook-dev mailing list