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

Re: How to ignore before importing ?

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-11 13:16:00 CET

On Jan 11, 2006, at 12:29, de Boer Ingo wrote:

> I create the repository and I want to import my project to the
> repository.
> But I didn't clean the project, so all the unwanted files are still
> there,
> like *.obj (intermediate object files). And I don't want to clean it.
> I want to import all the files from the project, except for the
> *.obj files.
> But how ? I know there is a global config file which I don't wanna
> use.
>
> From the import help I read
> "-F [--file] arg : read data from file ARG"
>
> What is the content of the arg file ? Can I exclude the files there ?
> I didn't find any detailed docu about "-F"

-F / --file is for specifying your commit message in a file, as
opposed to specifying it directly on the command line via -m / --
message or entering it interactively if you use none of these
switches. It is not related to excluding files.

Since you don't want to use the global config file, you could try a
so-called in-place import. Create an empty directory in your
repository, where your files will eventually go. For example:

$ svnadmin create http://svn.example.org/fooproject/trunk

Now go into the directory you were going to import, and check this
empty directory out over the top of it:

$ cd /directory/with/all/your/files/in/it
$ svn co http://svn.example.org/fooproject/trunk .

You can now selectively "svn add" the things you want to add, then
check it in.

Before that, you can also add svn:ignore properties to directories as
desired.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 11 13:21:24 2006

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

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