[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: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2005-09-13 13:03:33 CEST

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.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 13 13:04:46 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.