svn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
svn [2008/01/07 16:19] – damir | svn [2010/05/06 10:41] – damir | ||
---|---|---|---|
Line 16: | Line 16: | ||
For group projects, it is better to use the common repository which is | For group projects, it is better to use the common repository which is | ||
* for algo: < | * for algo: < | ||
- | * for licos: < | + | * for licos: < |
* for lth: < | * for lth: < | ||
* for lcm: < | * for lcm: < | ||
+ | * for arni: < | ||
===== Quick User Guide ===== | ===== Quick User Guide ===== | ||
Line 139: | Line 140: | ||
------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ||
</ | </ | ||
+ | |||
+ | ===== New Repositories ===== | ||
+ | |||
+ | you can always create a personal repository in your homedir by doing: | ||
+ | |||
+ | - ssh into server: < | ||
+ | - Create empty repository: < | ||
+ | |||
+ | <note warning> | ||
+ | General repositories, | ||
+ | </ | ||
+ | |||
===== Few general recommendations ===== | ===== Few general recommendations ===== | ||
- | - try to import into subversion ONLY the SOURCES and not the files that are generated from the sources; | + | - try to import into subversion ONLY the SOURCES and not the files that are generated from the sources; |
- try to keep the repository as clean as possible. If the repository is shared among various users, it is better to meet once and agree on a common strategy for file/ | - try to keep the repository as clean as possible. If the repository is shared among various users, it is better to meet once and agree on a common strategy for file/ | ||
- Unless you have a good reason, do not commit incomplete or buggy files; | - Unless you have a good reason, do not commit incomplete or buggy files; | ||
- **Important: | - **Important: | ||
+ | ===== Various Tips & Tricks ===== | ||
+ | ==== Global Configuration ==== | ||
+ | Every user has a personal global SVN configuration file which resides in '' | ||
+ | |||
+ | The two most useful options are probably '' | ||
+ | < | ||
+ | global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store \ | ||
+ | | ||
+ | </ | ||
+ | to ignore the specified files. The command '' | ||
+ | One should be careful with '' | ||
+ | svn st --no-ignore | ||
+ | |||
+ | The option '' | ||
+ | < | ||
+ | [auto-props] | ||
+ | *.m = svn: | ||
+ | *.tex = svn: | ||
+ | </ | ||
+ | makes Subversion to automatically set the '' | ||
+ | $Id: sufficiency.tex 372 2008-02-11 16:10:53Z kleiner $ | ||
+ | |||
+ | ==== Per-Directory Ignore List ==== | ||
+ | While the '' | ||
+ | svn propedit svn:ignore . | ||
+ | (the '' |
svn.txt · Last modified: 2012/02/17 15:54 by damir