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