Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Ignoring resources from Version Control
Ignoring resources from Version Control [message #17115] Thu, 24 April 2008 09:03 Go to next message
Eclipse UserFriend
Originally posted by: stefan.hansmann.googlemail.com

When I check out a project from the repository and than add a file on the
local copy later it is no problem to set the svn:ignore property for it so
it wont be considered in the next synchronisation.

but when I want to ignore a checked out file it is not possible. what do I
have to do to ignore checked out files to get updated in the future
synchronisations?

for example: you checked out a project containing a specific configuration
file. to test your changes on your local system you have to change the
database settings in this file. for sure you dont want this file to be
committed in the next step...

thanks for help
Re: Ignoring resources from Version Control [message #17144 is a reply to message #17115] Thu, 24 April 2008 09:32 Go to previous message
thomas menzel is currently offline thomas menzelFriend
Messages: 81
Registered: July 2009
Member
hi,

SVN doesnt support this. the SVN help suggest to have a template for
such configs in the repository which needs to be renamed after first
check out.

we do it like so that we append .#~#~# to the file name. the developer
just has to remove that suffix and then adjust it to his needs. eg:

db.properties.#~#~# -> db.properties

we found that this ending is VERY unique and doesnt cause any trouble
(escaping) on windows or unixes.


Stefan wrote:
> When I check out a project from the repository and than add a file on
> the local copy later it is no problem to set the svn:ignore property for
> it so it wont be considered in the next synchronisation.
>
> but when I want to ignore a checked out file it is not possible. what do
> I have to do to ignore checked out files to get updated in the future
> synchronisations?
>
> for example: you checked out a project containing a specific
> configuration file. to test your changes on your local system you have
> to change the database settings in this file. for sure you dont want
> this file to be committed in the next step...
>
> thanks for help
>
>
>


--
Thomas Menzel (aka: tom)


thomas menzel aka tom
Previous Topic:Repository Location on a FileServer
Next Topic:Replace with...
Goto Forum:
  


Current Time: Wed Apr 24 22:04:59 GMT 2024

Powered by FUDForum. Page generated in 0.03418 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top