Damn, that's easy to do. See attachments. Projects are on trunk. But I
have to check properties on org.tigris.subversion.svnclientadapter to see
that it is on tree-conflicts branch. Not sure how that happened. I only
ever switch at the project level.
On 3/19/09 2:17 PM, "Mark Phippard" <markphip_at_gmail.com> wrote:
> You commit this to the wrong location. The tree-conflicts branch
> should be dead.
>
>
>
> On Thu, Mar 19, 2009 at 5:04 PM, Stephen Elsemore <selsemore_at_collab.net>
> wrote:
>> Author: selsemore
>> Date: 2009-03-19 14:04:56-0700
>> New Revision: 4360
>>
>> Modified:
>>
>> branches/tree-conflicts/svnClientAdapter/src/main/org/tigris/subversion/svncl
>> ientadapter/ISVNClientAdapter.java
>>
>> trunk/svnClientAdapter/src/javahl/org/tigris/subversion/svnclientadapter/java
>> hl/AbstractJhlClientAdapter.java
>>
>> Log:
>> Expose recursive info call.
>>
>> Modified:
>> branches/tree-conflicts/svnClientAdapter/src/main/org/tigris/subversion/svncl
>> ientadapter/ISVNClientAdapter.java
>> Url:
>> http://subclipse.tigris.org/source/browse/subclipse/branches/tree-conflicts/s
>> vnClientAdapter/src/main/org/tigris/subversion/svnclientadapter/ISVNClientAda
>> pter.java?view=diff&pathrev=4360&r1=4359&r2=4360
>>
=============================================================================>>
=
>> ---
>> branches/tree-conflicts/svnClientAdapter/src/main/org/tigris/subversion/svncl
>> ientadapter/ISVNClientAdapter.java (original)
>> +++
>> branches/tree-conflicts/svnClientAdapter/src/main/org/tigris/subversion/svncl
>> ientadapter/ISVNClientAdapter.java 2009-03-19 14:04:56-0700
>> @@ -1408,6 +1408,16 @@
>> * @throws SVNClientException
>> */
>> public ISVNInfo getInfo(File file) throws SVNClientException;
>> +
>> + /**
>> + * Get information about a file or directory.
>> + * Uses info2() call which contacts the repository
>> + * @param file
>> + * @param descend get recursive information
>> + * @return information about a file or directory.
>> + * @throws SVNClientException
>> + */
>> + public ISVNInfo[] getInfo(File file, boolean descend) throws
>> SVNClientException;
>>
>> /**
>> * Get information about an URL.
>>
>> Modified:
>> trunk/svnClientAdapter/src/javahl/org/tigris/subversion/svnclientadapter/java
>> hl/AbstractJhlClientAdapter.java
>> Url:
>> http://subclipse.tigris.org/source/browse/subclipse/trunk/svnClientAdapter/sr
>> c/javahl/org/tigris/subversion/svnclientadapter/javahl/AbstractJhlClientAdapt
>> er.java?view=diff&pathrev=4360&r1=4359&r2=4360
>>
=============================================================================>>
=
>> ---
>> trunk/svnClientAdapter/src/javahl/org/tigris/subversion/svnclientadapter/java
>> hl/AbstractJhlClientAdapter.java (original)
>> +++
>> trunk/svnClientAdapter/src/javahl/org/tigris/subversion/svnclientadapter/java
>> hl/AbstractJhlClientAdapter.java 2009-03-19 14:04:56-0700
>> @@ -1808,6 +1808,38 @@
>> }
>>
>> /* (non-Javadoc)
>> + * @see
>> org.tigris.subversion.svnclientadapter.ISVNClientAdapter#getInfo(java.io.File
>> , boolean)
>> + */
>> + public ISVNInfo[] getInfo(File path, boolean descend) throws
>> SVNClientException {
>> + try {
>> +
>> notificationHandler.setCommand(ISVNNotifyListener.Command.INFO);
>> + String target = fileToSVNPath(path, false);
>> + if (descend) notificationHandler.logCommandLine("info
>> " + target + " --depth=infinity");
>> + else notificationHandler.logCommandLine("info " +
>> target);
>> +
>> notificationHandler.setBaseDir(SVNBaseDir.getBaseDir(path));
>> + List infoList = new ArrayList();
>> + Info info = svnClient.info(target);
>> + if (info == null) {
>> + infoList.add(new SVNInfoUnversioned(path));
>> + } else {
>> + Info2[] infos = svnClient.info2(target, null,
>> null, true);
>> + if (infos == null || infos.length == 0) {
>> + infoList.add(new
>> SVNInfoUnversioned(path));
>> + } else {
>> + for (int i = 0; i < infos.length;
>> i++)
>> + infoList.add(new
>> JhlInfo2(path,infos[i]));
>> + }
>> + }
>> + ISVNInfo[] infoArray = new ISVNInfo[infoList.size()];
>> + infoList.toArray(infoArray);
>> + return infoArray;
>> + } catch (ClientException e) {
>> + notificationHandler.logException(e);
>> + throw new SVNClientException(e);
>> + }
>> + }
>> +
>> + /* (non-Javadoc)
>> * @see
>> org.tigris.subversion.svnclientadapter.ISVNClientAdapter#getInfo(org.tigris.s
>> ubversion.svnclientadapter.SVNUrl)
>> */
>> public ISVNInfo getInfo(SVNUrl url, SVNRevision revision, SVNRevision
>> peg) throws SVNClientException {
>>
>> ------------------------------------------------------
>> http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=3541&dsMessageId=1357
>> 948
>>
>> To unsubscribe from this discussion, please e-mail [unsubscribeURL]
>>
>
>
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1043&dsMessageId=1358083
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_subclipse.tigris.org].
Received on 2009-03-19 22:30:10 CET