[svnbook] r4865 committed - Translation: Code Samples

svnbook at googlecode.com svnbook at googlecode.com
Sat Jul 26 12:21:32 CDT 2014


Revision: 4865
Author:   jmfelderhoff at gmx.eu
Date:     Sat Jul 26 17:21:17 2014 UTC
Log:      Translation: Code Samples

http://code.google.com/p/svnbook/source/detail?r=4865

Modified:
  /branches/1.7/de/book/ch08-embedding-svn.xml

=======================================
--- /branches/1.7/de/book/ch08-embedding-svn.xml	Sat Jul 26 17:11:47 2014  
UTC
+++ /branches/1.7/de/book/ch08-embedding-svn.xml	Sat Jul 26 17:21:17 2014  
UTC
@@ -1866,7 +1866,7 @@

        <example id="svn.developer.layerlib.repos.ex-1">
  <!--
-        <title>Using the Repository Layer</title>
+        <title>Using the repository layer</title>
  -->
          <title>Verwendung der Projektarchiv-Schicht</title>

@@ -2226,7 +2226,7 @@
      # Canonicalize the repository path.
  -->
      # Den Projektarchiv-Pfad kanonisieren.
-    repos_path = svn.core.svn_path_canonicalize(sys.argv[1])
+    repos_path = svn.core.svn_dirent_canonicalize(sys.argv[1])

  <!--
      # Do the real work.
@@ -2417,10 +2417,10 @@
          usage_and_exit(2)

  <!--
-    # Canonicalize the repository path.
+    # Canonicalize the working copy path.
  -->
-    # Projektarchivpfad kanonisieren.
-    wc_path = svn.core.svn_path_canonicalize(args[0])
+    # Arbeitskopiepfad kanonisieren.
+    wc_path = svn.core.svn_dirent_canonicalize(args[0])

  <!--
      # Do the real work.
@@ -2451,17 +2451,21 @@
  <!--
        <warning>
          <para>Run user-provided paths
-          through <function>svn_path_canonicalize()</function> before
-          passing them to other API functions.  Failure to do so can
-          trigger assertions in the underlying Subversion C library
-          which translate into rather immediate and unceremonious
-          program abortion.</para>
+          through the appropriate canonicalization function
+          (<function>svn_dirent_canonicalize()</function> or
+          <function>svn_uri_canonicalize()</function>) before passing
+          them to other API functions.  Failure to do so can trigger
+          assertions in the underlying Subversion C library which
+          translate into rather immediate and unceremonious program
+          abortion.</para>
        </warning>
  -->

       <warning>
         <para>Lassen Sie Pfade, die von Anwendern mitgegeben werden,
-         durch <function>svn_path_canonicalize()</function> filtern,
+         durch die passende Kanonisierungsfunktion
+         (<function>svn_dirent_canonicalize()</function> oder
+         <function>svn_uri_canonicalize()</function>) filtern,
           bevor sie an andere API-Funktionen weitergeleitet werden.
           Ein <emphasis>unterlassen</emphasis> kann dazu führen, dass
           Annahmen der darunter liegenden C-Bibliotheken nicht mehr


More information about the svnbook-dev mailing list