Project

General

Profile

Actions

DevelGit » History » Revision 5

« Previous | Revision 5/20 (diff) | Next »
moo, 2007-08-03 02:26


= Subversion =

Browser
You can check [browser:trunk trac] in your browser for logs/sources. Checkout
Currently we use /trunk for the current development code that will become version 1.5.0 {{{
#!ShellExample
$ svn checkout svn://svn.lighttpd.net/lighttpd/trunk/
}}}

If you're developer the checkout command is: {{{
#!ShellExample
$ svn checkout svn+ssh:/lighttpd/trunk/
}}}

Bug fixes for the 1.4.x release series are merged into /branches/lighttpd-1.4.x. {{{
#!ShellExample
$ svn checkout svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x/
}}}

Config

If you are developing on lighty and want to commit to the subversion tree, you need some properties set to make sure that you have the right EOL style.

On win32 you set the config in {{{
#!ShellExample
cmd> notepad APPDATA\Subversion\config
}}}

on Unix in {{{
#!ShellExample
$ vi ~/.subversion/config
}}}

The configfile should already exist and should contain several examples. You only have to
remove the #-sign from the beginning of the line and set these options:

{{{
[miscellany]
enable-auto-props=yes

[auto-props]
.c = svn:eol-style=native
.h = svn:eol-style=native
}}}

This will make sure that everyone gets the right line-endings on all platforms and (more important)
everyone can commit with his local EOL-style without breaking the line-endings for other users.

Updated by moo over 16 years ago · 5 revisions