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

Ignore development changes.

From: Gavin Baumanis <gavinb_at_thespidernet.com>
Date: Tue, 20 Sep 2011 08:29:05 +1000

Hi Everyone,
I am just after some advice on how other people solve the following issue.

I have a committed file.
When it is deployed, it needs to be in a state (lets call it state 1)
While testing code locally, it needs to be in some other state (state 2)

Short of altering the code to read like;
if on dev server
    have state 1
else
    have state 2
fi

How can I have a local change,
but have "that" change temporarily ignored?

My initial thought is to use the svn:ignore
But that brings about the issue of, out of mind out sight... and if I ever need to do "real" changes to that file, they won't be picked up in svn status.

The answer is quite likely not even a SVN once - but perhaps a procedure / system one.

I am open to any and all suggestions of how people might solve this issue for themselves already.
And as always - thanks for any ideas you might have.

Gavin "Beau" Baumanis
Received on 2011-09-20 00:29:44 CEST

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.