From dd619919869e5ce6c4497be837fa9e77509f46cb Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Tue, 22 Jul 2008 10:07:47 +0000 Subject: [PATCH] SVN changes to documentation. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25791 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/Extended.lyx | 185 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 182 insertions(+), 3 deletions(-) diff --git a/lib/doc/Extended.lyx b/lib/doc/Extended.lyx index a1c1e68da4..94874d1fae 100644 --- a/lib/doc/Extended.lyx +++ b/lib/doc/Extended.lyx @@ -16161,12 +16161,12 @@ man rcsintro \end_layout \begin_layout Standard -Also, as there is only basic CVS implementation you should be familiar with - CVS usage before start using it under LyX. +Also, as there is only basic CVS/SVN implementation you should be familiar + with CVS/SVN usage before start using it under LyX. \end_layout \begin_layout Standard -The implementation in LyX assumes a recent version of the GNU RCS or CVS +The implementation in LyX assumes a recent version of the GNU RCS or CVS/SVN package---no guarantees are made for older versions. \end_layout @@ -16515,6 +16515,185 @@ cvs log \end_inset +\family default + is shown in a browser. +\end_layout + +\begin_layout Subsection +SVN commands in LyX +\end_layout + +\begin_layout Standard +SVN is now partially supported by LyX. + You can find the commands in the +\family sans +\bar under +F +\bar default +ile\SpecialChar \menuseparator + +\bar under +V +\bar default +ersion +\begin_inset space ~ +\end_inset + +Control +\family default + submenu. +\end_layout + +\begin_layout Subsubsection + +\family sans +Register +\end_layout + +\begin_layout Standard +If your document is not under revision control, this is the only item shown + in the menu. + And if it is under revision control, the +\family sans +\bar under +R +\bar default +egister +\family default + item is not visible. + +\end_layout + +\begin_layout Standard +This command registers in SVN your document ONLY in case you have already + the documents directory under SVN control (in particular +\family typewriter +.svn/entries +\family default + file exists). + This means you have to checkout the archive by yourself. + +\end_layout + +\begin_layout Standard +Then you are asked interactively to supply an initial description of the + document. + Don't forget that registered file is not yet commited. +\end_layout + +\begin_layout Standard +SVN command that is run: +\family typewriter +snv add -q +\begin_inset Quotes eld +\end_inset + + +\begin_inset Quotes erd +\end_inset + + +\end_layout + +\begin_layout Standard +Read +\family typewriter +man svn +\family default + to understand the switches. + +\end_layout + +\begin_layout Subsubsection + +\family sans +Check In Changes +\end_layout + +\begin_layout Standard +When you are finished editing a file, you commit your changes. + When you do this, you are asked for a description of the changes. + After that changes are commited. +\end_layout + +\begin_layout Standard +SVN command: +\family typewriter +svn commit -q -m"" +\end_layout + +\begin_layout Subsubsection + +\family sans +Check Out For Edit +\end_layout + +\begin_layout Standard +Updates the changes of this file from the repository. + Be sure you understand SVN merging and conflicts resolving before using + this function, because all conflicts has to be done manually by you! +\end_layout + +\begin_layout Standard +RCS command: +\family typewriter +svn update +\begin_inset Quotes eld +\end_inset + + +\begin_inset Quotes erd +\end_inset + + +\end_layout + +\begin_layout Subsubsection + +\family sans +Revert To Repository Version +\end_layout + +\begin_layout Standard +This will discard all changes made to the document since the last check + in. + You get a warning before changes are discarded. + +\end_layout + +\begin_layout Standard +CVS command: +\family typewriter +svn revert -q +\begin_inset Quotes eld +\end_inset + + +\begin_inset Quotes erd +\end_inset + + +\end_layout + +\begin_layout Subsubsection + +\family sans +Show History +\end_layout + +\begin_layout Standard +This show the complete history of the SVN document. + The output of +\family typewriter +svn log +\begin_inset Quotes eld +\end_inset + + +\begin_inset Quotes erd +\end_inset + + \family default is shown in a browser. \end_layout