You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Fogel <kf...@newton.ch.collab.net> on 2002/10/28 22:34:01 UTC

Re: svn status with svn:externals

> 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