You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Neil Bird <ne...@jibbyjobby.co.uk> on 2011/11/09 12:39:22 UTC

[1.7.1] UUID error replacing local file with file external

   I have a local file in a WC.  I have svn-deleted the local file and 
re-added it as a file external from elsewhere (to the same WC location using 
the immediate parent's svn:externals).

   However, on update I now get an error along the lines of:

Updating 'tools':

Fetching external item into 'tools/mksrn.pl':
svn: warning: W170009: Repository UUID 
'a16ec33f-10fa-4864-f3e0-c4d0f3191a87' doesn't match expected UUID 
'fc8517da-9189-6699-81a6-a7dc70dab01f'

At revision 499.
svn: E205011: Failure occurred processing one or more externals definitions

   [expected UUID is the local repo, the other is the remote one]

   Annoyingly I tried to re-create this with a dummy/example pair of repos, 
and it all worked swimmingly.

   Any ideas as to how I can fix my WC?  I'm not scared of a little (but I 
do mean little) SQL ...



NB - real work done via TortoiseSVN on Windows, [working] test attempted on 
Linux.  Update error text above copied from Linux attempt to do same update 
on broken WC.

-- 
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit

Re: [1.7.1] UUID error replacing local file with file external

Posted by Philip Martin <ph...@wandisco.com>.
Neil Bird <ne...@jibbyjobby.co.uk> writes:

>   Am I just doing something wrong?

You are trying to make a file external point to a file in a different
repository, that is not supported.

-- 
Philip

Re: [1.7.1] UUID error replacing local file with file external

Posted by Neil Bird <ne...@jibbyjobby.co.uk>.
Around about 09/11/11 11:39, Neil Bird typed ...
> Annoyingly I tried to re-create this with a dummy/example pair of repos, and
> it all worked swimmingly.

   Actually a typo. meant it wasn't reproducing the situation.

   The attached script mostly reproduces the problem.  I've got my repo. 
into a state where it simply *won't* pull this file in, from any level under 
any name.  And it's not my WC that's a stuffed, a fresh checkout gives the 
same error (ditto the attached test).

   Am I just doing something wrong?

-- 
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit

Re: [1.7.1] UUID error replacing local file with file external

Posted by Neil Bird <ne...@jibbyjobby.co.uk>.
Around about 09/11/11 14:27, Stefan Podskubka typed ...
> Isn't this the expected behaviour regarding the current state of the
> svn:externals implementation?

   Gah, you are, indeed, correct, and I'd even *read* that before, but 
forgotten!

   Thanks (to you & Philip) for correcting my numptiness!

-- 
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit

Re: [1.7.1] UUID error replacing local file with file external

Posted by Stefan Podskubka <s....@hcs.at>.
On 09.11.2011 12:39, Neil Bird wrote:
> I have a local file in a WC.  I have svn-deleted the local file and 
> re-added it as a file external from elsewhere (to the same WC location 
> using the immediate parent's svn:externals).
>
>   However, on update I now get an error along the lines of:
>
> Updating 'tools':
>
> Fetching external item into 'tools/mksrn.pl':
> svn: warning: W170009: Repository UUID 
> 'a16ec33f-10fa-4864-f3e0-c4d0f3191a87' doesn't match expected UUID 
> 'fc8517da-9189-6699-81a6-a7dc70dab01f' 

Isn't this the expected behaviour regarding the current state of the 
svn:externals implementation?

I am quoting the svnbook here 
(http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html):
File externals cannot refer to files from other repositories. A file 
external's URL must always be in the same repository as the URL that the 
file external will be inserted into.

Regards
Stefan