Login | Register
My pages Projects Community openCollabNet

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

subversion
Discussion topic

Back to topic list

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

Author Daniel Torreblanca <regulatethis at gmail dot com>
Full name Daniel Torreblanca <regulatethis at gmail dot com>
Date 2009-11-05 21:46:57 PST
Message On Thu, Nov 5, 2009 at 10:52 PM, Janus Ng <janusng@asiavisi​on.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@90

Daniel
20C2 D248 F235 4419 83D5 C3F4 4F9A F331 CF6A F679
http://www.bonetree.net/pgp.asc

« Previous message in topic | 2 of 5 | Next message in topic »

Messages

Show all messages in topic

[Bug] propset svn:externals with the new 1.6 syntax does not honor the revision first. Janus Ng <janusng at asiavision dot com dot hk> Janus Ng <janusng at asiavision dot com dot hk> 2009-11-05 19:53:02 PST
     Re: [Bug] propset svn:externals with the new 1.6 syntax does not honor the revision first. Daniel Torreblanca <regulatethis at gmail dot com> Daniel Torreblanca <regulatethis at gmail dot com> 2009-11-05 21:46:57 PST
         Re: [Bug] propset svn:externals with the new 1.6 syntax does not honor the revision first. Daniel Torreblanca <regulatethis at gmail dot com> Daniel Torreblanca <regulatethis at gmail dot com> 2009-11-05 21:49:21 PST
         Re: [Bug] propset svn:externals with the new 1.6 syntax does not honor the revision first. Janus Ng <janusng at asiavision dot com dot hk> Janus Ng <janusng at asiavision dot com dot hk> 2009-11-05 23:32:42 PST
     Re: [Bug] propset svn:externals with the new 1.6 syntax does not honor the revision first. Lorenz <lorenznl at yahoo dot com> Lorenz <lorenznl at yahoo dot com> 2009-11-06 00:02:05 PST
Messages per page: