[svnbook commit] r3489 - * trunk/src/de/book/ch07-customizing-svn.xml
codesite-noreply at google.com
codesite-noreply at google.com
Fri Apr 17 06:03:54 CDT 2009
Author: jmfelderhoff at gmx.eu
Date: Fri Apr 17 04:03:34 2009
New Revision: 3489
Modified:
trunk/src/de/book/ch07-customizing-svn.xml
Log:
* trunk/src/de/book/ch07-customizing-svn.xml
- Fixes ticket #240 (cf. https://www.svnbook.de/report/6).
Modified: trunk/src/de/book/ch07-customizing-svn.xml
==============================================================================
--- trunk/src/de/book/ch07-customizing-svn.xml (original)
+++ trunk/src/de/book/ch07-customizing-svn.xml Fri Apr 17 04:03:34 2009
@@ -1821,8 +1821,12 @@
<!-- =================================================================
-->
<!-- =================================================================
-->
<sect1 id="svn.advanced.externaleditors">
+<!--
<title>Using External Editors</title>
+-->
+ <title>Verwendung externer Editoren</title>
+<!--
<para>The most obvious way to get data into Subversion is through
the addition of files to version control, committing changes to
those files, and so on. But other pieces of
@@ -1832,21 +1836,48 @@
property values—tend to be textual in nature and are
provided explicitly by users. Most of this information can be
provided to the Subversion command-line client using the
- <option>--message</option> (<option>-m</option>) and
- <option>--file</option> (<option>-F</option>) options with the
+ <option>- -message</option> (<option>-m</option>) and
+ <option>- -file</option> (<option>-F</option>) options with the
appropriate subcommands.</para>
+-->
+ <para>Die offensichtlichste Art und Weise, Daten in Subversion zu
+ bekommen, ist es, Dateien unter Versionskontrolle zu stellen,
+ Änderungen an diesen Dateien zu übergeben usw. Aber neben
+ versionierten Dateidaten leben auch andere Informationen in
+ Ihrem Subversion-Repository. Einige dieser Informationen –
+ Protokollnachrichten, Kommentare zu Sperren und einige
+ Property-Werte – sind textueller Natur und werden
+ ausdrücklich von Benutzern geliefert. Die meisten dieser
+ Informationen können dem Subversion-Kommandozeilen-Client mit
+ den Optionen <option>--message</option> (<option>-m</option>)
+ und <option>--file</option> (<option>-F</option>) bei den
+ entsprechenden Unterbefehlen mitgegeben werden.</para>
+<!--
<para>Each of these options has its pros and cons. For example,
- when performing a commit, <option>--file</option>
+ when performing a commit, <option>- -file</option>
(<option>-F</option>) works well if you've already prepared a
text file that holds your commit log message. If you didn't,
- though, you can use <option>--message</option>
+ though, you can use <option>-.-message</option>
(<option>-m</option>) to provide a log message on the command
line. Unfortunately, it can be tricky to compose anything more
than a simple one-line message on the command line. Users want
more flexibility—multiline, free-form log message editing
on demand.</para>
-
+-->
+ <para>Jede dieser Optionen hat ihre Vor- und Nachteile. Wenn Sie
+ beispielsweise eine Übergabe machen, funktioniert
+ <option>--file</option> (<option>-F</option>) prima, falls Sie
+ bereits eine Datei mit der Protokollnachricht vorbereitet haben.
+ Wenn Sie es jedoch nicht gemacht haben, können Sie
+ <option>--message</option> (<option>-m</option>) verwenden, um
+ eine Protokollnachricht auf der Kommandozeile mitzugeben. Leider
+ kann es knifflig werden, mehr als einen Einzeiler auf der
+ Kommandozeile anzugeben. Benutzer verlangen mehr Flexibilität
+ – auf Wunsch das Verfassen mehrzeiliger, formfreier
+ Protokollnachrichten.</para>
+
+<!--
<para>Subversion supports this by allowing you to specify an
external text editor that it will launch as necessary
to give you a more powerful input mechanism for this textual
@@ -1854,10 +1885,19 @@
editor you'd like use. Subversion checks the following things,
in the order specified, when it wants to launch such an
editor:</para>
+-->
+ <para>Subversion unterstützt das, indem es Ihnen erlaubt, einen
+ externen Texteditor anzugeben, den es bei Bedarf startet, um
+ Ihnen einen leistungsfähigeren Mechanismus zur Eingabe dieser
+ textuellen Metadaten zu geben. Es gibt mehrere Möglichkeiten,
+ Subversion mitzuteilen, welchen Editor Sie benutzen möchten.
+ Subversion überprüft die folgenden Dinge in der angegebenen
+ Reihenfolge, wenn es solch einen Editor starten möchte:</para>
+<!--
<orderedlist>
<listitem>
- <para><literal>--editor-cmd</literal> command-line option</para>
+ <para><literal>- -editor-cmd</literal> command-line option</para>
</listitem>
<listitem>
<para><literal>SVN_EDITOR</literal> environment variable</para>
@@ -1876,7 +1916,31 @@
libraries (not present in the official builds)</para>
</listitem>
</orderedlist>
+-->
+ <orderedlist>
+ <listitem>
+ <para><literal>--editor-cmd</literal> Kommandozeilenoption</para>
+ </listitem>
+ <listitem>
+ <para><literal>SVN_EDITOR</literal> Umgebungsvariable</para>
+ </listitem>
+ <listitem>
+ <para><literal>editor-cmd</literal> Option der
Laufzeitkonfiguration</para>
+ </listitem>
+ <listitem>
+ <para><literal>VISUAL</literal> Umgebungsvariable</para>
+ </listitem>
+ <listitem>
+ <para><literal>EDITOR</literal> Umgebungsvariable</para>
+ </listitem>
+ <listitem>
+ <para>Möglicherweise ein Standardwert, der in die
+ Subversion-Bibliotheken eingebaut wurde (nicht in offiziell
+ gebauten Versionen)</para>
+ </listitem>
+ </orderedlist>
+<!--
<para>The value of any of these options or variables is the
beginning of a command line to be executed by the shell.
Subversion appends to that command line a space and the pathname
@@ -1885,15 +1949,26 @@
an invocation in which its last command-line parameter is a file
to be edited, and it should be able to save the file in place
and return a zero exit code to indicate success.</para>
+-->
+ <para>Der Wert aller dieser Optionen oder Variablen ist der Anfang
+ einer Kommandozeile, die von der Shell ausgeführt werden soll.
+ Subversion hängt an diese Kommandozeile ein Leerzeichen und den
+ Pfadnamen einer temporären Datei, die editiert werden soll. Um
+ einen Editor also mit Subversion verwenden zu können, muss er so
+ aufgerufen werden können, dass dessen letzter
+ Kommandozeilenparameter eine zu editierende Datei ist, die er
+ beim Sichern überschreibt; und im Erfolgsfall ist ein
+ Rückgabewert von Null zu liefern.</para>
+<!--
<para>As noted, external editors can be used to provide commit log
messages to any of the committing subcommands (such as
<command>svn commit</command> or <command>import</command>,
<command>svn mkdir</command> or <command>delete</command> when
provided a URL target, etc.), and Subversion will try to
launch the editor automatically if you don't specify either of
- the <option>--message</option> (<option>-m</option>) or
- <option>--file</option> (<option>-F</option>) options. The
+ the <option>- -message</option> (<option>-m</option>) or
+ <option>- -file</option> (<option>-F</option>) options. The
<command>svn propedit</command> command is built almost entirely
around the use of an external editor. And beginning in version
1.5, Subversion will also use the configured external text
@@ -1901,6 +1976,23 @@
interactive conflict resolution. Oddly, there doesn't appear to
be a way to use external editors to interactively provide lock
comments.</para>
+-->
+ <para>Wie beschrieben, können externe Editoren bei allen
+ übergebenden Unterbefehlen (wie <command>svn commit</command>
+ oder <command>import</command>, <command>svn mkdir</command>
+ oder <command>delete</command> wenn ein URL-Ziel angegeben wird
+ usw.) zur Eingabe von Protokollnachrichten verwendet werden, und
+ Subversion versucht, den Editor automatisch zu starten, sofern
+ Sie nicht eine der Optionen <option>--message</option>
+ (<option>-m</option>) oder <option>--file</option>
+ (<option>-F</option>) angeben. Der Befehl <command>svn
+ propedit</command> ist fast ausschließlich für die Verwendung
+ eines externen Editors gebaut worden. Seit Version 1.5, benutzt
+ Subversion auch den konfigurierten externen Editor, wenn der
+ Benutzer es auffordert, einen Editor zur interaktiven
+ Konfliktauflösung zu starten. Seltsamerweise scheint keine
+ Möglichkeit zu bestehen, einen externen Editor zur Eingabe von
+ Kommentaren für Sperren zu verwenden.</para>
</sect1>
More information about the svnbook-dev
mailing list