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

Re: Perl bindings: "Source url %s is from different repository"

From: holibert <drink.beer_at_gmx.net>
Date: 2005-09-13 16:44:05 CEST

> --- Ursprüngliche Nachricht ---
> Von: Malcolm Rowe <malcolm-svn-dev@farside.org.uk>
> An: holibert <drink.beer@gmx.net>
> Kopie: dev@subversion.tigris.org
> Betreff: Re: Perl bindings: "Source url %s is from different repository"
> Datum: Tue, 13 Sep 2005 12:03:33 +0100
>
> On Tue, Sep 13, 2005 at 12:00:54PM +0200, holibert wrote:
> > Creating of new directory entries and deleting of entries works already,
> > but if I try to copy an entry with
> >
> > $CommitEditor->add_directory("rel1", $Root, "tags/rel1", $rev);
> >
> > where "rel1" dosn't exist, I get the following
> >
> > General filesystem error: Source url 'tags/rel1' is from different
> > repository at mucc.pl line 36
> >
> > What am I doing wrong?
>
> I don't know anything about the bindings, but it looks to me [from looking
> at libsvn_repos/commit.c:add_directory()] as though copy_path needs to be
> an
> absolute URI, not a relative path.
>
> That function URI-decodes the copy_path and generates the error message
> you're seeing if the copy_path doesn't start with the repository URL.
>
> Regards,
> Malcolm
>

Works like charm now.

Thank you very much!

Holger

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 13 16:45:05 2005

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.