SVN
Aus Mein Wiki
Sebra (Diskussion | Beiträge) (→Clients for Windows) |
Sebra (Diskussion | Beiträge) (→Windows) |
||
Zeile 19: | Zeile 19: | ||
= Server einrichten = | = Server einrichten = | ||
== Windows == | == Windows == | ||
+ | === VisualSVN === | ||
+ | ==== Database to Filesystem ==== | ||
+ | I am using VisualSVN Server on Windows Server 2008, And TortoiseSVN for each client. | ||
+ | |||
+ | I have a repository - [ProjectA] with Post-Commit Hook | ||
+ | |||
+ | C:\Progra~2\Visual~1\bin\svn.exe update D:\ProjectA\ --quiet --revision HEAD --no-auth-cache --non-interactive --username hookuser --password 123456 | ||
+ | |||
+ | The D:\ProjectA\ is CheckOut from \trunk\ and work fine, everytime i commit the files, it will automatic copy the HEAD revision files to D:\ProjectA. | ||
+ | |||
+ | * Source: http://stackoverflow.com/questions/7564233/svn-post-commit-hook-copy-file-to-folder-from-tags-repositories | ||
+ | |||
== Linux == | == Linux == | ||
== Automatisches SVN2FTP (SVN-to-Webserver) == | == Automatisches SVN2FTP (SVN-to-Webserver) == | ||
* per Hook | * per Hook | ||
** http://stackoverflow.com/questions/738499/svn-post-commit-hook-to-copy-committed-files-to-a-working-copy-for-another-repos | ** http://stackoverflow.com/questions/738499/svn-post-commit-hook-to-copy-committed-files-to-a-working-copy-for-another-repos |