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

Re: svn status with svn:externals

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-10-28 23:34:01 CET

> Fetching external item into test-wc/foo
> Checked out revision 0.
> $ cd test-wc
> $ svn st
> ? foo
>
> ^^^^^^^^^^ Here is the problem. Status should descend into external
> directories just like update does, and should not print anything if the
> external dirs have no changes.

Good point. Can you file an issue and maybe put it in Post-1.0? I
realize that's not ideal, but although it's a bug, it's not a
showstopper and the workarounds are pretty simple. IMHO it shouldn't
hold up 1.0 even though it's not completely correct behavior.

Of course, if you want to take a look at patching it, it might be
pretty easy... Hmmm, let's see, yes, I think it's just matter of
making svn_client__handle_externals() handle operations other than the
checkout/update/switch variety, and then having svn_client_status()
invoke it appropriately near the end. Possibly the best way is for
svn_client__handle_externals() to take a function/baton pair to tell
it what action to run, instead of assuming update or whatever it
assumes right now. A lot of code would be perturbed, but conceptually
the change is pretty simple.

Want to have a go at it?

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 29 00:05:24 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.