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

Re: [PATCH] Was: Enhancement needed in svn status -u

From: Daniel L. Rall <dlr_at_collab.net>
Date: 2005-09-30 01:17:17 CEST

On Wed, 28 Sep 2005, Paul Burba wrote:

> "Daniel L. Rall" <dlr@finemaltcoding.com> wrote on 09/28/2005 12:58:20 AM:
>
> > On Mon, 26 Sep 2005, Paul Burba wrote:
> >
> > > Here is the latest patch for improved out of date info when using svn
> > > status -u.
> > >
> > > The background on all of this can be found here:
> > > http://svn.haxx.se/dev/archive-2005-08/0257.shtml
> > ...

Committed with a few formatting adjustments in r16344.

I have written code to expose this additional status information via the
JavaHL bindings (org.tigris.subversion.javahl.Status), and am in the process
of figuring out how to add a unit test for that to
BasicTests.testBasicStatus(). I've attached the code -- it passes all
existing tests. A couple problems with it:

- The new Status methods needs proper Java-esque names. Just prefixing
  them with getOOD...() seems kinda vague (or something) for Java.

- I changed the existing constructor of the Status class in a non-backwards
  compatible manner. Given that its JavaDoc is explicit that the ctor
  should only be called from the JNI bindings, and the version bump, I think
  this may be okay. The alternative is to overload the ctor, leaving the
  old one around, but marked as @deprecated.

p.s. Anyone know off-hand if the JavaHL testing framework allows for
modification of the test repository without using the client library to make
a commit?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Fri Sep 30 01:18:15 2005

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