You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Rolf Campbell <rc...@dragonwaveinc.com> on 2011/10/04 19:10:13 UTC
1.7RC4 file externals produce errors on updates
When I try to update a working view that contains file-externals, I get
an error because the client thinks the external is a versioned item.
In an attempt to clear the problem, I deleted the file (locally), but
"svn up" restores the file and then complains about it existing.
Are file-externals supported in v1.7?
$ svn up
Updating '.':
Restored 'lastserial.txt'
Fetching external item into 'lastserial.txt':
svn: warning: W195017: The file external from
'https://[snip]/trunk/SerialNumbers/lastserial.txt' cannot overwrite the
existing versioned item at '/c/[snip]/lastserial.txt'
At revision 3905.
svn: E205011: Failure occurred processing one or more externals definitions
Re: 1.7RC4 file externals produce errors on updates
Posted by Rolf Campbell <rc...@dragonwaveinc.com>.
On 2011-10-24 19:27, Philip Martin wrote:
> Mothmonsterman<p....@gmail.com> writes:
>
>> External definition:
>> C:\eclipse\workspaces_3_6\CADOC\eOMIS>svn propget svn:externals
>> ^/eOMIS/trunk/src/a/b/c/SF02_SampleClass.java src/a/b/c/
>> SF02_SampleClass.java
>> ^/eOMIS/trunk/src/a/b/c/SF02_SampleServlet.java src/a/b/c/
>> SF02_SampleServlet.java
>> ^/eOMIS/trunk/WebContent/d/sf2tzzz.jsp WebContent/d/sf2tzzz.jsp
>
> The 4015 fix doesn't handle svn:externals where the path has multiple
> components. I've reopened the issue.
>
>> svn st:
>> C:\eclipse\workspaces_3_6\CADOC\eOMIS>svn st
>> S src\a\b\c\SF02_SampleClass.java
>> S src\a\b\c\SF02_SampleServlet.java
>> S WebContent\d\sf2tzzz.jsp
>
> You can recover your working copy by updating each file:externals to r0:
>
> svn up -r0 src\a\b\c\SF02_SampleClass.java
>
> and then updating the whole working copy.
>
Thanks, I had originally run used 1.7RC4 to upgrade my working copy.
Once I used "svn up -r0" and then a normal "svn up" using v1.7.1, my
file externals began working correctly.
Re: 1.7RC4 file externals produce errors on updates
Posted by Philip Martin <ph...@wandisco.com>.
Mothmonsterman <p....@gmail.com> writes:
> External definition:
> C:\eclipse\workspaces_3_6\CADOC\eOMIS>svn propget svn:externals
> ^/eOMIS/trunk/src/a/b/c/SF02_SampleClass.java src/a/b/c/
> SF02_SampleClass.java
> ^/eOMIS/trunk/src/a/b/c/SF02_SampleServlet.java src/a/b/c/
> SF02_SampleServlet.java
> ^/eOMIS/trunk/WebContent/d/sf2tzzz.jsp WebContent/d/sf2tzzz.jsp
The 4015 fix doesn't handle svn:externals where the path has multiple
components. I've reopened the issue.
> svn st:
> C:\eclipse\workspaces_3_6\CADOC\eOMIS>svn st
> S src\a\b\c\SF02_SampleClass.java
> S src\a\b\c\SF02_SampleServlet.java
> S WebContent\d\sf2tzzz.jsp
You can recover your working copy by updating each file:externals to r0:
svn up -r0 src\a\b\c\SF02_SampleClass.java
and then updating the whole working copy.
--
Philip
Re: 1.7RC4 file externals produce errors on updates
Posted by Mothmonsterman <p....@gmail.com>.
External definition:
C:\eclipse\workspaces_3_6\CADOC\eOMIS>svn propget svn:externals
^/eOMIS/trunk/src/a/b/c/SF02_SampleClass.java src/a/b/c/
SF02_SampleClass.java
^/eOMIS/trunk/src/a/b/c/SF02_SampleServlet.java src/a/b/c/
SF02_SampleServlet.java
^/eOMIS/trunk/WebContent/d/sf2tzzz.jsp WebContent/d/sf2tzzz.jsp
svn st:
C:\eclipse\workspaces_3_6\CADOC\eOMIS>svn st
S src\a\b\c\SF02_SampleClass.java
S src\a\b\c\SF02_SampleServlet.java
S WebContent\d\sf2tzzz.jsp
C:\eclipse\workspaces_3_6\CADOC\eOMIS>svn st c:\eclipse
\workspaces_3_6\CADOC\eOMIS\src\a\b\c\SF02_SampleClass.java
S C:\eclipse\workspaces_3_6\CADOC\eOMIS\src\a\b\c
\SF02_SampleClass.java
C:\eclipse\workspaces_3_6\CADOC\eOMIS>svn st c:\eclipse
\workspaces_3_6\CADOC\eOMIS\src\a\b\c\SF02_SampleServlet.java
S C:\eclipse\workspaces_3_6\CADOC\eOMIS\src\a\b\c
\SF02_SampleServlet.java
C:\eclipse\workspaces_3_6\CADOC\eOMIS>svn st c:\eclipse
\workspaces_3_6\CADOC\eOMIS\WebContent\d\sf2tzzz.jsp
S C:\eclipse\workspaces_3_6\CADOC\eOMIS\WebContent\d\sf2tzzz.jsp
the files were pristine when i upgraded. no local changes.
i dont have the sqlite3 tool, do i need it?
thanks for your help Philip.
On Oct 24, 6:06 pm, Philip Martin <ph...@wandisco.com> wrote:
> Mothmonsterman <p....@gmail.com> writes:
> > 2011-10-11 — 1.7.0 was used to do the upgrade. No release candidates
> > were ever installed.
>
> > On Oct 24, 5:28 pm, Philip Martin <ph...@wandisco.com> wrote:
> >> Mothmonsterman <p....@gmail.com> writes:
> >> > No, it was the 2011-10-11 — 1.7.0
>
> >> > I just noticed there is a 1.7.1 release, so I upgraded client to it...
> >> > No dice, still have same issue. (svn, version 1.7.1 (r1186859)).
>
> >> > It is a 1.6 checkout upgraded to 1.7.
>
> >> > My setup is identical to the test case described in Issue 4015, hence
> >> > my reference to it.
>
> >> Which version was used to do the upgrade? If you upgraded the working
> >> copy with an a 1.7 pre-release that was affected by 4015 then the
> >> upgraded working will be faulty. Changing the client will not fix a
> >> faulty working copy. If you upgraded the working copy with a released
> >> 1.7 then you should not see the problem and if you do we need to
> >> investigate.
>
> How is the svn:external defined? So what does 'svn st' show on thefile
> external, and on the directory defining the svn:externals? What did
> they look like when you upgraded? Were they different from the current
> state? Do you have the sqlite3 tool?
>
> --
> Philip
Re: 1.7RC4 file externals produce errors on updates
Posted by Philip Martin <ph...@wandisco.com>.
Mothmonsterman <p....@gmail.com> writes:
> 2011-10-11 — 1.7.0 was used to do the upgrade. No release candidates
> were ever installed.
>
> On Oct 24, 5:28 pm, Philip Martin <ph...@wandisco.com> wrote:
>> Mothmonsterman <p....@gmail.com> writes:
>> > No, it was the 2011-10-11 — 1.7.0
>>
>> > I just noticed there is a 1.7.1 release, so I upgraded client to it...
>> > No dice, still have same issue. (svn, version 1.7.1 (r1186859)).
>>
>> > It is a 1.6 checkout upgraded to 1.7.
>>
>> > My setup is identical to the test case described in Issue 4015, hence
>> > my reference to it.
>>
>> Which version was used to do the upgrade? If you upgraded the working
>> copy with an a 1.7 pre-release that was affected by 4015 then the
>> upgraded working will be faulty. Changing the client will not fix a
>> faulty working copy. If you upgraded the working copy with a released
>> 1.7 then you should not see the problem and if you do we need to
>> investigate.
How is the svn:external defined? So what does 'svn st' show on the file
external, and on the directory defining the svn:externals? What did
they look like when you upgraded? Were they different from the current
state? Do you have the sqlite3 tool?
--
Philip
Re: 1.7RC4 file externals produce errors on updates
Posted by Mothmonsterman <p....@gmail.com>.
2011-10-11 — 1.7.0 was used to do the upgrade. No release candidates
were ever installed.
On Oct 24, 5:28 pm, Philip Martin <ph...@wandisco.com> wrote:
> Mothmonsterman <p....@gmail.com> writes:
> > No, it was the 2011-10-11 — 1.7.0
>
> > I just noticed there is a 1.7.1 release, so I upgraded client to it...
> > No dice, still have same issue. (svn, version 1.7.1 (r1186859)).
>
> > It is a 1.6 checkout upgraded to 1.7.
>
> > My setup is identical to the test case described in Issue 4015, hence
> > my reference to it.
>
> Which version was used to do the upgrade? If you upgraded the working
> copy with an a 1.7 pre-release that was affected by 4015 then the
> upgraded working will be faulty. Changing the client will not fix a
> faulty working copy. If you upgraded the working copy with a released
> 1.7 then you should not see the problem and if you do we need to
> investigate.
>
> --
> Philip
Re: 1.7RC4 file externals produce errors on updates
Posted by Philip Martin <ph...@wandisco.com>.
Mothmonsterman <p....@gmail.com> writes:
> No, it was the 2011-10-11 — 1.7.0
>
> I just noticed there is a 1.7.1 release, so I upgraded client to it...
> No dice, still have same issue. (svn, version 1.7.1 (r1186859)).
>
> It is a 1.6 checkout upgraded to 1.7.
>
> My setup is identical to the test case described in Issue 4015, hence
> my reference to it.
Which version was used to do the upgrade? If you upgraded the working
copy with an a 1.7 pre-release that was affected by 4015 then the
upgraded working will be faulty. Changing the client will not fix a
faulty working copy. If you upgraded the working copy with a released
1.7 then you should not see the problem and if you do we need to
investigate.
--
Philip
Re: 1.7RC4 file externals produce errors on updates
Posted by Mothmonsterman <p....@gmail.com>.
No, it was the 2011-10-11 — 1.7.0
I just noticed there is a 1.7.1 release, so I upgraded client to it...
No dice, still have same issue. (svn, version 1.7.1 (r1186859)).
It is a 1.6 checkout upgraded to 1.7.
My setup is identical to the test case described in Issue 4015, hence
my reference to it.
On Oct 24, 5:04 pm, Philip Martin <ph...@wandisco.com> wrote:
> Mothmonsterman <p....@gmail.com> writes:
> > Should this have been resolved with Issue 4015?
>
> >http://subversion.tigris.org/issues/show_bug.cgi?id=4015
>
> > On Oct 17, 4:30 pm, Mothmonsterman <p....@gmail.com> wrote:
> >> same problem here..
>
> >> On Oct 4, 1:10 pm, Rolf Campbell <rc...@dragonwaveinc.com>
> >> wrote:
>
> >> > When I try to update a working view that contains file-externals, I get
> >> > an error because the client thinks the external is aversioneditem.
>
> >> > In an attempt to clear the problem, I deleted the file (locally), but
> >> > "svn up" restores the file and then complains about itexisting.
>
> >> > Are file-externals supported in v1.7?
>
> >> > $ svn up
> >> > Updating '.':
> >> > Restored 'lastserial.txt'
>
> >> > Fetching externaliteminto 'lastserial.txt':
> >> > svn: warning: W195017: The file external from
> >> > 'https://[snip]/trunk/SerialNumbers/lastserial.txt'cannotoverwritetheexistingversionedite mat '/c/[snip]/lastserial.txt'
>
> >> > At revision 3905.
> >> > svn: E205011: Failure occurred processing one or more externals definitions
>
> Difficult to say. Issue 4015 is fixed in 1.7. Are you using rc4? Are
> you using a 1.7 checkout, or a 1.6 checkout upgraded to 1.7?
>
> --
> Philip
Re: 1.7RC4 file externals produce errors on updates
Posted by Philip Martin <ph...@wandisco.com>.
Mothmonsterman <p....@gmail.com> writes:
> Should this have been resolved with Issue 4015?
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=4015
>
> On Oct 17, 4:30 pm, Mothmonsterman <p....@gmail.com> wrote:
>> same problem here..
>>
>> On Oct 4, 1:10 pm, Rolf Campbell <rc...@dragonwaveinc.com>
>> wrote:
>>
>> > When I try to update a working view that contains file-externals, I get
>> > an error because the client thinks the external is aversioneditem.
>>
>> > In an attempt to clear the problem, I deleted the file (locally), but
>> > "svn up" restores the file and then complains about itexisting.
>>
>> > Are file-externals supported in v1.7?
>>
>> > $ svn up
>> > Updating '.':
>> > Restored 'lastserial.txt'
>>
>> > Fetching externaliteminto 'lastserial.txt':
>> > svn: warning: W195017: The file external from
>> > 'https://[snip]/trunk/SerialNumbers/lastserial.txt'cannotoverwritetheexistingversionedite mat '/c/[snip]/lastserial.txt'
>>
>> > At revision 3905.
>> > svn: E205011: Failure occurred processing one or more externals definitions
Difficult to say. Issue 4015 is fixed in 1.7. Are you using rc4? Are
you using a 1.7 checkout, or a 1.6 checkout upgraded to 1.7?
--
Philip
Re: 1.7RC4 file externals produce errors on updates
Posted by Mothmonsterman <p....@gmail.com>.
Should this have been resolved with Issue 4015?
http://subversion.tigris.org/issues/show_bug.cgi?id=4015
On Oct 17, 4:30 pm, Mothmonsterman <p....@gmail.com> wrote:
> same problem here..
>
> On Oct 4, 1:10 pm, Rolf Campbell <rc...@dragonwaveinc.com>
> wrote:
>
>
>
>
>
>
>
> > When I try to update a working view that contains file-externals, I get
> > an error because the client thinks the external is aversioneditem.
>
> > In an attempt to clear the problem, I deleted the file (locally), but
> > "svn up" restores the file and then complains about itexisting.
>
> > Are file-externals supported in v1.7?
>
> > $ svn up
> > Updating '.':
> > Restored 'lastserial.txt'
>
> > Fetching externaliteminto 'lastserial.txt':
> > svn: warning: W195017: The file external from
> > 'https://[snip]/trunk/SerialNumbers/lastserial.txt'cannotoverwritetheexistingversionedite mat '/c/[snip]/lastserial.txt'
>
> > At revision 3905.
> > svn: E205011: Failure occurred processing one or more externals definitions
Re: 1.7RC4 file externals produce errors on updates
Posted by Mothmonsterman <p....@gmail.com>.
same problem here..
On Oct 4, 1:10 pm, Rolf Campbell <rc...@dragonwaveinc.com>
wrote:
> When I try to update a working view that contains file-externals, I get
> an error because the client thinks the external is aversioneditem.
>
> In an attempt to clear the problem, I deleted the file (locally), but
> "svn up" restores the file and then complains about itexisting.
>
> Are file-externals supported in v1.7?
>
> $ svn up
> Updating '.':
> Restored 'lastserial.txt'
>
> Fetching externaliteminto 'lastserial.txt':
> svn: warning: W195017: The file external from
> 'https://[snip]/trunk/SerialNumbers/lastserial.txt'cannotoverwritetheexistingversioneditemat '/c/[snip]/lastserial.txt'
>
> At revision 3905.
> svn: E205011: Failure occurred processing one or more externals definitions