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

exclude files from checkout by default? (OR: Best Practice?)

From: Jan Hendrik <list.jan.hendrik_at_gmail.com>
Date: Tue, 28 Jul 2009 07:45:16 +0200

Hi,

is there a way to have some file/directory not checked out/updated
on plain svn co / svn up and only checked out when specifically
requested? Kind of an inverse sparse checkout?

Background:
The hoster of a client's site has some silly default PHP settings
(like throwing errors in the user's face) which can only be turned off
by adding a php.ini in server root. However, naturally this interferes
with the settings I prefer to have on development systems. So
while still wanting to have this php.ini under version control I would
like to have it checked out by default only in the working copy used
for final testing & upload to the hoster. I am in no position to
require the client to change the hoster. They have been generally
satisfied with them for many years, not particularly cheap, yet with
a few things they use and won't necessarily get at about the same
quote elsewhere.

I know about sparse checkouts, but it would be a bit troublesome
to exclude just one file any time a working copy is checked out;
there are about two dozen files in server root, and as many folders.
So I guess there would have to be some property like svn:ignore-on-
checkout with a complimentary switch for svn co --depth:include-
ignores.

Any suggestion or help appreciated.

JH
---------------------------------------
Freedom quote:

     A wise and frugal government, which shall restrain men from
     injuring one another, which shall leave them otherwise free to
     regulate their own pursuits of industry and improvement, and shall
     not take from the mouth of labor the bread it has earned. This is
     the sum of good government, and all that is necessary to close the
     circle of our felicities.
          -- Thomas Jefferson, in his 1801 inaugural address

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2376211

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-28 08:12:18 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.