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

Re: [TSVN] How can I exclude some files from revision control

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-10-16 17:28:14 CEST

professor_chen@adontendev.com wrote:
> I output all my object files and executeables into the same
> folder as my text files.

Ok, _that's_ really a very, very bad idea! I don't think I've ever seen
any IDE that would do that!
If you can, then you really should change the output path of your object
and executable files. It's not just better for any source control system
out there but also better for you - you'll find the source files to work
on much easier...

> How can Subversion be set to exclude them from revision
> control?

TSVN settings dialog, exclude patterns. Note: those patterns are case
sensitive.

> During my initial import they were all added, but I now want
> to exclude them from revision control.

Use the "remove" command from the TSVN context menu. After you've
deleted those object and executable files, you can commit and they won't
be versioned anymore. But they will still be stored in the repository,
i.e. if you check out the revision before, you will get those files back.
The only way to permanently and completely remove those files from the
repository too is to use the svnadmin command (part of the Subversion
command line package):
svnadmin dump > repodump
svndumpfilter [some options] repodump > repodumpfiltered
svnadmin load < repodumpfiltered

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Oct 16 18:30:00 2004

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.