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

[PATCH] Expose svn_info_t->depth to JavaHL

From: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: Sun, 29 Jun 2008 23:50:04 -0600

Hi All,
    Attached is a patch that will expose svn_info_t->depth to JavaHL's
Info2 class. This enhancement will enable me to follow up with
another patch that will enable JavaHL to check whether a working copy
path is complete, or not a sparse checkout. (This is something that
could be used to enhance Subclipse's best practices checks for
example.) For quick analysis, I have pasted the log message at the
bottom of this email. Please let me know if there is anything I can
do to make this patch ready for application.

Take care,

Jeremy

[[[
Expose the depth member of svn_info_t to JavaHL's Info2 class.

* subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java
  (testBasicInfo2): Updated tests to check depth.

* subversion/bindings/javahl/native/EnumMapper.h
  (mapDepth): New function.

* subversion/bindings/javahl/native/EnumMapper.cpp
  (mapDepth): Implementation.

* subversion/bindings/javahl/native/InfoCallback.cpp
  (createJavaInfo2): Updated to call new depth-aware constructor.

* subversion/bindings/javahl/src/org/tigris/subversion/javahl/Info2.java
  (Info2): Updated constructor for depth argument.
  (getDepth, setDepth): New functions.
]]]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-06-30 07:50:40 CEST

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.