Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[subversive-dev] API for svn update --set-depth=exclude

I'm trying to programatically run "svn update --set-depth=exclude" in
an Eclipse plug-in I'm developing.

I'm using org.eclipse.team.svn.core.operation.local.UpdateOperation to
try and achieve this. Unfortunately it doesn't seem like
UpdateOperation supports setting the "set-depth" option, only the
"depth option". ISVNConnector.Depth though does have an EXCLUDE
constant, but passing this to UpdateOperation#setDepth doesn't achieve
the desired results.

>From the console (using SVN Kit 1.3.0):
*** Update svn update
"/home/davey/ws/borealis_runtime/trunk3/hardware" -r HEAD --depth
files
svn: Request depth 'exclude' not supported
*** Error (took 00:00.508)

As you can see it's doing --depth instead of --set-depth.

Is there a way to run this command through Subversive APIs?

Thanks in advance,
David


Back to the top