[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [subversive-dev] API for svn update --set-depth=exclude
|
Hello David,
Currently UpdateOperation doesn't support it, but there's a corresponding
task in tracker: https://bugs.eclipse.org/bugs/show_bug.cgi?id=295217
-----Original Message-----
From: subversive-dev-bounces@xxxxxxxxxxx
[mailto:subversive-dev-bounces@xxxxxxxxxxx] On Behalf Of David Cummings
Sent: Wednesday, February 10, 2010 11:18 PM
To: subversive-dev@xxxxxxxxxxx
Subject: [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
_______________________________________________
subversive-dev mailing list
subversive-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/subversive-dev