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

Re: Importing project from cvs to svn using TSVN.

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 21 Feb 2008 21:50:55 -0500

On Thu, Feb 21, 2008 at 4:20 PM, S M <smpub2000_at_yahoo.com> wrote:
> Thanks for the information. I meant to say "all source files". The project I
> am importing from cvs to svn has about a hundred .cvsignore files spread
> across various directories. When I import the project to svn, is there an
> easy way to import the ignore settings, or would it need to be done
> manually.

SVN doesn't know what to do with .cvsignore files; it might even
attempt to import them, assuming they're files that should be
versioned.

It's easy enough to find and delete these files, after applying the
same rules to your global-ignores and/or the directories.

> Andy Levy <andy.levy_at_gmail.com> wrote:
>
> On Thu, Feb 21, 2008 at 2:50 PM, S M wrote:
> >
> >
> > I want to checkin code, using TSVN on windows xp, for an existing cvs
> > project to Subversion server installed on Solaris.
> > I have the following questions:
> > 1. The svnbook states that for file portability, the property
> > "svn:eol-style" should be set to native. Can you specify how this is done
> > using TSVN. I believe this would need to be set for all files in the
> > project.
>
> Right-click a file (or group of files), select TSVN ->Properties. You
> can apply them on all new files added/imported via the auto-props
> section of your Subversion client config.
>
> Should it be done for all files? No, only plain-text, and only those
> which will not be corrupted or otherwise changed in a material way by
> changing EOL style. This setting doesn't guarantee portability, it
> really just makes it easier to work on various client OSes with text
> editors which may not understand EOL markers used by other OSes (e.g.,
> Notepad doesn't understand UNIX EOLs).
>
> > 2. IS svn:eol-style the only property that needs to be set in this case.
>
> Depends upon your requirements.
>
> > 3. Are there any tools to generate, or existing templates, for svnignore
> > settings (by using .svnignore files?) for typical
> > patterns (obj,.out, .class, war, jar, solaris packaging files etc) needed
> > before importing a project into svn for the first time.
>
> SVN uses the property svn:ignore to ignore files in directories, in
> addition to the global-ignores section of your Subversion config file.
> What items you decide to ignore really are up to you - my settings
> won't map to your workspace.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
> For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
>
>
>
>
> ________________________________
> Looking for last minute shopping deals? Find them fast with Yahoo! Search.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-02-22 04:44:21 CET

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

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