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

RE: [Subclipse-users] ISVNClientAdapter.mkdir bug

From: Martin Letenay <mle_at_whitestein.com>
Date: 2006-11-22 09:12:55 CET

It's probably harmless.

The "makeParents" case is implemented bit clumsy and may spit out some
(handled) error messages.

This is the affected code:

        if (makeParents) {

            SVNUrl parent = url.getParent();

            if (parent != null) {

                    ISVNInfo info = null;

                    try {

                        info = this.getInfo(parent);

                    } catch (SVNClientException e) {

                    }

                    if (info == null)

                        this.mkdir(parent, makeParents, message);

            }

        }

 

Which adapter are you using ?

 

Martin

 

From: Cain, Tom [mailto:tcain@solekai.com]
Sent: Wednesday, November 22, 2006 4:42 AM
To: users@subclipse.tigris.org
Subject: [Subclipse-users] ISVNClientAdapter.mkdir bug

 

Hello,
We are using the ISVNClientAdapter in our plugin to automate some SVN
actions. The following method seems to produce errors via the
ISVNNotifyListener even though the operation completes successfully:

        ISVNClientAdapter.mkdir(SVNUrl url, boolean makeParents, String
message)

We are passing "true" for the second parameter because the SVNUrl points to
a path whose ancestors do not necessarily exist yet in the repository.

The repository contains the folder:
/delivery

And we are creating:
/delivery/testDir1/testDir2/testDir3

Even though the directories are successfully created, we get the following
errors when invoking the mkdir method:

Bad URL passed to RA layer
svn: URL '
<file:///C:\Development\CMS\test-server\delivery\testDir1\testDir2>
file:///C:/Development/CMS/test-server/delivery/testDir1/testDir2'
non-existent in revision '51'

Bad URL passed to RA layer
svn: URL ' <file:///C:\Development\CMS\test-server\delivery\testDir1>
file:///C:/Development/CMS/test-server/delivery/testDir1' non-existent in
revision '51'
Received on Wed Nov 22 09:13:09 2006

This is an archived mail posted to the Subclipse Users mailing list.

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