Vitaliz / extjs-public

Automatically exported from code.google.com/p/extjs-public
0 stars 0 forks source link

Problem with repository UUID #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. 
http://extjs-public.googlecode.com/svn/tags/extjs-3.3.0/release/examples/ux/ux-a
ll.js ux-all.js
2. svn up

What is the expected output? 
External at revision 125.

What do you see instead?
Fetching external item into 'static/extjs/ux-all.js'
svn: warning: Repository UUID 'c8b75533-744a-0410-987e-e9bf80a15930' doesn't 
match expected UUID '24f0f32b-017b-3e46-96e0-873bf52a34cb'

What version of the product are you using? On what operating system?
Linux 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010 i686 
GNU/Linux

Distributor ID: Ubuntu
Description:    Ubuntu 10.10
Release:    10.10
Codename:   maverick

Please provide any additional information below.
svn, version 1.6.12 (r955767)
   compiled Jul  5 2010, 16:53:32

Original issue reported on code.google.com by To.KA...@gmail.com on 25 Oct 2010 at 3:32

GoogleCodeExporter commented 9 years ago
I can't reproduce the problem at my end (also on Ubuntu, but 10.04, SVN 1.6.6).

Certainly the repo ID hasn't changed, so you shouldn't see that message. I'm 
not sure what your step 1 is - it looks like an SVN checkout, but prefixing 
`svn co` complains that ux-all.js is not a directory.

Is it an SVN switch to the new tag? Could you give me more details?

Regards,

Mike.

Original comment by Schmeeky on 2 Nov 2010 at 11:19

GoogleCodeExporter commented 9 years ago
Sorry for my bad explanation...
I want make "svn external" in my repository.
svn propset svn:externals 
http://extjs-public.googlecode.com/svn/tags/extjs-3.3.0/release/examples/ux/ux-a
ll.js ux-all.js

Original comment by To.KA...@gmail.com on 3 Nov 2010 at 4:51

GoogleCodeExporter commented 9 years ago
OK, I've replicated the problem, but it is a limitation of SVN: you can only 
point externals at a subdirectory, not an individual file:

"An externals definition is a mapping of a *local directory* to the URL—and 
possibly a particular revision—of a versioned resource. In Subversion, you 
declare externals definitions in groups using the svn:externals property. You 
can create or modify this property using svn propset or svn propedit (see the 
section called “Why Properties?”). It can be set on any versioned 
directory, and its value is a multi-line *table of subdirectories* (relative to 
the versioned directory on which the property is set) and fully qualified, 
absolute Subversion repository URLs."

Also, your propset command needs to be the other way round, specify a target, 
and quote the value of the property, due to the space.

svn propset svn:externals "ux 
http://extjs-public.googlecode.com/svn/tags/extjs-3.3.0/release/examples/ux" .

Hope that helps.

Mike.

Original comment by Schmeeky on 11 Nov 2010 at 2:58