• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: subversion: svn copy WC URL fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: subversion: svn copy WC URL fails


  • Subject: Re: subversion: svn copy WC URL fails
  • From: Jeremy Pereira <email@hidden>
  • Date: Wed, 17 Mar 2010 11:26:48 +0000

On 17 Mar 2010, at 08:51, Andreas Grosam wrote:

>
> $ svn copy -m "test" AGC file:///var/svn/repos/MyProject/Applications/tags/Test
> svn: Commit failed (details follow):
> svn: Source url 'file://localhost/var/svn/repos/MyProject/AGC/trunk' is from different repository
> $ ls
> AGC			Demo3
>
>
< SNIP >

>
> It's strange, because I can successfully copy from URL to URL within the same repository. That is, the command above would work if I would perform it manually.

The answer is simpler than you might think.  The problem is that the error message you are being given is slightly misleading (a common problem with Subversion error messages).

Basically, when you made the working copy, you did the following:

svn checkout file://localhost/var/svn/repos/MyProject/AGC/trunk  AGC

But you are referring to the repository in your copy using a URL without "localhost" in it.  Subversion is complaining that the URLs - specifically, the host part - do not match.

Try this:

svn copy -m "test" AGC file://localhost/var/svn/repos/MyProject/Applications/tags/Test

Incidentally, if you really were trying to copy to a different repository, the error message would be completely different - a bit like this:

svn: Repository UUID '3aee420b-b423-4134-8deb-33de5aeee178' doesn't match expected UUID '8212d9a3-1efe-4bd2-9766-b0c8e952b045'

>
>
> Andreas
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: subversion: svn copy WC URL fails
      • From: Andreas Grosam <email@hidden>
References: 
 >subversion: svn copy WC URL fails (From: Andreas Grosam <email@hidden>)
 >Re: subversion: svn copy WC URL fails (From: Jens Alfke <email@hidden>)
 >Re: subversion: svn copy WC URL fails (From: Andreas Grosam <email@hidden>)

  • Prev by Date: .xcdatamodel and subversion
  • Next by Date: Re: Signedness of sizeof()
  • Previous by thread: Re: subversion: svn copy WC URL fails
  • Next by thread: Re: subversion: svn copy WC URL fails
  • Index(es):
    • Date
    • Thread