subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Phippard <markp...@gmail.com>
Subject Re: How to update a sparse directory?
Date Fri, 07 Jun 2019 22:37:27 GMT
> On Jun 7, 2019, at 4:34 PM, Mun Johl <mun.johl@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
Mime
View raw message