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

Re: Parallel branches/tags/trunk directories

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 29 Mar 2012 06:57:46 -0400

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

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.