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

Re: How to update a sparse directory?

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 7 Jun 2019 18:37:27 -0400

> On Jun 7, 2019, at 4:34 PM, Mun Johl <mun.johl_at_kazan-networks.com> wrote:
>
> We're using SVN version 1.8.19 on Red Hat Enterprise Linux 6.8 .
>
> For one of our projects, the SVN area is a sparse directory. I'm
> wondering what's the best way to update that directory?
>
> I've searched the web but haven't found a definitive answer to how to
> _update_ a sparse directory.
>
> Should I do an "svn update" at the root directory, and then traverse the
> lower levels and do updates as well?
>
> Based on a web answer, I thought "svn update *" at the root level would
> work; but it turns out that it doesn't actually update all directories
> (at least, not in my case).

You just run svn up and it basically says as much in the docs:

http://svnbook.red-bean.com/en/1.7/svn.advanced.sparsedirs.html

"Fortunately, having a complex collection of ambient depths in a single working copy doesn't complicate the way you interact with that working copy. You can still make, revert, display, and commit local modifications in your working copy without providing any new options (including --depth and --set-depth) to the relevant subcommands. Even svn update works as it does elsewhere when no specific depth is provided—it updates the working copy targets that are present while honoring their sticky depths."

If this is not working for you provide a script that shows what you are doing and what you are getting.

Mark
Received on 2019-06-08 00:37:44 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.