On 6 December 2010 12:08, Petr Kadlec petr.kadlec@gmail.com wrote:
On 6 December 2010 08:47, Ashar Voultoiz hashar+wmf@free.fr wrote:
- I want to be able to commit a bug fix + associated tests in one revision without having to fetch the whole phase3 tree.
You don’t have to. Subversion supports (since 1.5?) sparse checkouts http://svnbook.red-bean.com/en/1.5/svn.advanced.sparsedirs.html, allowing you to have only selected parts of a directory checked out in your working copy, which is a feature suitable exactly for scenarios like this one.
Except it is still too inconvenient to use for most cases (yeah I was going to suggest it too): "Subversion 1.5's implementation of shallow checkouts is good but does not support a couple of interesting behaviors. First, you cannot de-telescope a working copy item. Running svn update --set-depth empty in an infinite-depth working copy will not have the effect of discarding everything but the topmost directory—it will simply error out. Second, there is no depth value to indicate that you wish an item to be explicitly excluded. You have to do implicit exclusion of an item by including everything else."
-Niklas