[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
subversion [2008/09/19 13:44]
zeman Rolling back versions.
subversion [2008/12/02 18:54]
bojar caste problemy s tracem
Line 32: Line 32:
 O přidávání uživatelů a hesel viz níže. O přidávání uživatelů a hesel viz níže.
  
-==== Konfigurace protokolu SVN ====+ 
 +==== Konfigurace protokolu SVN (raději nepoužívat, nekryptovaný přenos) ====
  
 Toto rozhraní je užíváno SVN klienty, kteří dostanou repository udanou ve tvaru ''svn...'', tj. např.: Toto rozhraní je užíváno SVN klienty, kteří dostanou repository udanou ve tvaru ''svn...'', tj. např.:
Line 46: Line 47:
  
 Pozor - hesla se tu nastavuji jako textove retezce, neni to htaccess! Po siti tedy tecou nekryptovane! Pozor - hesla se tu nastavuji jako textove retezce, neni to htaccess! Po siti tedy tecou nekryptovane!
 +
  
 ==== Konfigurace přístupu k systému Trac ==== ==== Konfigurace přístupu k systému Trac ====
Line 57: Line 59:
     trac-admin /home/trac/$PROJEKT     trac-admin /home/trac/$PROJEKT
  
 +=== Časté problémy ===
 +
 +== V tracu chybí tlačítko Browse Source ==
 +
 +Ověřte, že v souboru ''/home/trac/PROJEKT/conf/trac.ini'' máte nastavenu proměnnou ''repository_dir'' na ''/home/svn/repos/PROJEKT''.
 +
 +== V prohlížení kódu se neukazuje Unicode ==
 +
 +Ověřte, že v souboru ''/home/trac/PROJEKT/conf/trac.ini'' máte nastavenu proměnnou ''default_charset'' na ''utf-8''. **Default je chybný, iso-8859-15.**
  
 ==== Přidávání vlastních uživatelů pro webové přístupy (SVN i Trac) ==== ==== Přidávání vlastních uživatelů pro webové přístupy (SVN i Trac) ====
Line 392: Line 403:
   ~/projects/project   ~/projects/project
 </code> </code>
 +
  
  
Line 417: Line 429:
   * http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html#svn.branchmerge.basicmerging.resurrect   * http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html#svn.branchmerge.basicmerging.resurrect
   * http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html#svn.branchmerge.basicmerging.undo   * http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html#svn.branchmerge.basicmerging.undo
 +
 +The following code should undo the changes between the revisions 302 and 303 (note the minus sign before 303, meaning negative change) while keeping the other changes between 303 and HEAD.
 +
 +<code>svn merge -c -303 https://svn.ms.mff.cuni.cz/svn/$REPOSITORY/$PROJECT/trunk
 +# alternatively: svn merge -r 303:302 https://svn.ms.mff.cuni.cz/svn/$REPOSITORY/$PROJECT/trunk
 +svn status
 +svn diff
 +svn commit -m "Undoing change committed in r303."</code>
  
 ===== Setting Up an Archive ===== ===== Setting Up an Archive =====

[ Back to the navigation ] [ Back to the content ]