[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Bug] propset svn:externals with the new 1.6 syntax does not honor the revision first.

From: Janus Ng <janusng_at_asiavision.com.hk>
Date: Fri, 06 Nov 2009 15:32:03 +0800

Dear Mr. Torreblanca,

I have tried the alternative syntax as you have suggested.
Unfortunately, it does not work. :(

    ^/path/to/foo foo_at_90

It is kinda strange that the old syntax works flawlessly while the new
syntax doesn't. This bug holds us from merging to the new syntax.


*Janus Ng*
System Analyst
Technical Department
Asia Vision Technology Ltd.
Tel: (852) 2319 2648 ext: 283 Fax: (852) 2319 2665

Asia Vision Technology Logo <http://www.asiavision.com.hk> *Breach of
confidentiality & accidental breach of confidentiality: * This email and
any files transmitted with it are Confidential and intended solely for
the use of the individual or entity to whom they are addressed. This
message contains confidential you are not the named addressee you should
not disseminate, distribute or copy this email. Please notify the sender
immediately by email if you have received this email by mistake and
delete this email from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited;

Daniel Torreblanca wrote:
> On Thu, Nov 5, 2009 at 10:52 PM, Janus Ng <janusng_at_asiavision.com.hk> wrote:
>> Dear Developers,
>> We have encountered a problem on using external repo with the new syntax introduced on version 1.5.
>> For a target path no longer exists on the head revision, the svn:external fails with the new syntax. e.g.
>>> svn rename foo bar
>> A bar
>> D foo
>>> svn commit -m "renamed foo to bar"
>> Adding bar
>> Committed revision 100.
>>> cd ../baz
>> #### new syntax ####
>>> svn propset svn:externals -r 90 ^/path/to/foo foo
>>> svn update
>> A ~/svnrepo/baz/foo
>> svn: external failed (details below):
>> svn: URL '/svn/shared/!svn/bc/100/path/to/foo' path not found
>> #### old syntax ####
>>> svn propset svn:externals foo -r 90 ^/path/to/foo
>>> svn update
>> A ~/svn/repo/baz/foo - at revision: 90
>> Updated to revision 100.
>> The bug exists since svn 1.5 and it is still there in version 1.6.6.
> I'm not _entirely_ sure on this but I think that Subversion uses a
> default peg revision of HEAD for externals, and that file doesn't
> exist at HEAD. Try using peg revision syntax to define your external:
> ^/path/to/foo foo_at_90
> Daniel
> 20C2 D248 F235 4419 83D5 C3F4 4F9A F331 CF6A F679
> http://www.bonetree.net/pgp.asc

Received on 2009-11-06 08:32:58 CET

This is an archived mail posted to the Subversion Dev mailing list.