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

RE: How to prevent a file from committing

From: Bob Archer <bob.archer_at_amsi.com>
Date: Thu, 25 Feb 2010 16:00:28 -0500

> Sorry if this has been covered before. I have a source repository
> checked out, and need to make changes for committing. However, there
> is one file that has been changed due to my IDE's project settings
> that I do not wish to commit (since it will affect other people's
> project settings). I agree that this file should not be in the repo,
> however, for reason I won't go into, it is there. Now I need a way to
> tell Tortoise, or SVN itself that when I commit the source folder, not
> to commit this file along with it. I looked at the svn:ignore
> property, but this didn't seem to be the same thing...it was more
> along the lines of ignore what gets added, rather than ignoring
> already added files which we don't want to re-commit.
>
> Any clues?

I would recommend deleting it from source control and then adding it to the ignore list. You can do this in 1 shot by right clicking on the file in question and use "Deleting and add to ignore list..."

Barring that you can add the file to the ignore-on-commit change list. Check the docs.

BOb

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2452222

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-02-25 21:59:43 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.