On Thu, Mar 29, 2012 at 5:33 AM, coolie <pcoulson_at_senscient.com> wrote:
>
> I have exactly the same issue - I want to inhibit checkout of all tags (and
> branches) folders, but still be able to do an update from the root. I've
> read the replies on this post and none seem to solve the problem. Did you
> find a simple solution? Ideally this should be a property set on the root
> folder a bit like svn:ignore so that it is registered at the server. Looks
> like I'll just have to bite the bullet and write a co script that everyone
> has to run to do the initial checkout (don't have Python or Perl). I don't
> know where the depth information is held for each folder - maybe there is
> some way of modifying this file?
>
> As I understand it you would do the following:
> - checkout root (immediate files and folders only, which includes the
> script)
> - run the script, which would do the remaining checkout (but only the
> immediate children of tags or branches folders)
> - updating the root hereafter will not update sub-folders of tags or
> branches folders
>
> Also need a script to modify the tree for existing checkouts. This would
> delete the tags sub-folder contents from the local disk and set the co depth
Take a look at the svn-viewspec.py script for an example of such a script:
http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on 2012-03-29 12:58:18 CEST