[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[TSVN] Re: TSVN Add displays contents of ignored directories

From: Norbert Unterberg <nepo_at_gmx.net>
Date: 2005-01-19 20:26:06 CET

Jens Scheidtmann schrieb:

>>I am doing a Top-skimming
>>and wanted some instructions on how to avoid importing the CVS dirs.

> Use cvs export instead of checkout as indicated in subversion's FAQ.
> So you wont get CVS subdirectories.

Some other hints:

* Before starting, add CVS and .cvsignore to the global subversion
ignore list

* Check for auto-props in the subversion config file. If you set the
svn:eol-style to "native" and svn:keywords to "Id" for your source files
then you might save a lot of manual work later.

* Then create the initial folder structure in svn (trunk/branches/tags).

* Check out the new trunk from the svn repository to an empty directory.
This way you have a working copy, which makes the next steps easier.

* Then get the project files from CVS into this SVN working copy. If you
checkout from cvs, you can use this working copy as a shared working
copy to transfer future changes from cvs to svn. If you use cvs export,
then you only convert the current cvs "snapshot" to svn.

* You should verify that all text files your project are using 8 bit
character sets like ASCII, Latin, ANSI or UTF-8. Subversion can not
handle UTF-16 files as text files. You can store them in the svn
repository, but only as binary files (that means no CRLF conversion, no
keyword expansion, no textual diff).

* Now ADD (not import) the project to svn.

* A nice idea is to create a tiny script that recurses through the
project folders (after it has been added to the SVN repository) and does
something like

        svn propset svn:ignore -F .cvsignore .

This converts the CVS ignore list to the correct subversion ignore
properties.

* now do an svn commit!

Norbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jan 19 20:26:58 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.