[vls-devel] Repository migrated to SVN

Sam Hocevar sam at zoy.org
Tue Mar 9 16:34:44 CET 2004

   The last public VideoLAN repository, VLS, just moved to SVN. If you
were using anonymous CVS to get the latest release, you need not change
anything because the SVN repository is mirrored to the CVS repository,
but if you are a developer you can no longer commit using CVS.

   Please see the following post for more information on what to do
right now:


   The SVN root for VLS is svn://svn.videolan.org/vls/

   If you do not have a Subversion account yet, send me your login and a
clear text password.

   Here are a few tips on how to use SVN:

 * repository layout

   There are three directories at the root: trunk, branches, tags. The
trunk directory is similar to the HEAD branch in CVS: it contains the
most recent VLS tree. The branches and tags directories contain copies
of the trunk (or of other branches) at different times.

   Never download a full svn tree! It would download several hundreds of
megabytes. Instead, only get the trunk directory, like that:

    $ svn co svn://svn.videolan.org/vls/trunk vls-trunk

   If you need a specific branch or tag, (eg. branch 0.5.0), use this:

    $ svn co svn://svn.videolan.org/vls/branches/0.5.0 vls-0.5.0

   If you need to know which branches are available, use "svn ls":

    $ svn ls svn://svn.videolan.org/vls/branches/

 * moving files

   No longer create new files from scratch when moving files! Use "svn mv",
it will preserve the file history:

    $ svn mv file1 file2

   It also works for entire directories.

 * splitting files

   Do not create a new file from scratch! Instead, copy the old file
using "svn cp", remove the old file and modify both newly created files.
This will preserve the history for both files:

    $ svn cp old new1
    $ svn cp old new2
    $ svn delete old
    [edit new1 and new2]
    $ svn commit

 * getting information about locally modified files

   Use "svn status" to know which files were modified, deleted or
created. A network connection is not needed for that, do not use "svn
update" just to know your local modifications.

   "svn diff" does not require a network connection either if you only
want to display your local modifications.

 * .cvsignore

   There is no filesystem equivalent to .cvsignore; instead, we use SVN
metadata. To edit the ignore list for a given directory, use this:

    $ svn propedit svn:ignore mydirectory

 * $Id:

   $Id is no longer automatically taken in account; instead, it has to
be activated in a per-file basis using properties:

    $ svn propedit svn:keywords myfile

   Just add "Id" to the list of properties.


This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vls-devel mailing list