|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[Bug] propset svn:externals with the new 1.6 syntax does not honor the revision first.
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 barThe bug exists since svn 1.5 and it is still there in version 1.6.6. --
Regards, Janus Ng |
|
|
Re: [Bug] propset svn:externals with the new 1.6 syntax does not honor the revision first.On Thu, Nov 5, 2009 at 10:52 PM, Janus Ng <janusng@...> 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 ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2414997 |
|
|
Re: [Bug] propset svn:externals with the new 1.6 syntax does not honor the revision first.On Fri, Nov 6, 2009 at 12:46 AM, Daniel Torreblanca
<regulatethis@...> wrote: > 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 That was supposed to be: ^/path/to/foo@90 foo :) ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2414999 |
|
|
Re: [Bug] propset svn:externals with the new 1.6 syntax does not honor the revision first.
Dear Mr. Torreblanca,
I have tried the alternative syntax as you have suggested. Unfortunately, it does not work. :( 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.^/path/to/foo foo@90 Regards, Janus Ng Daniel Torreblanca wrote: On Thu, Nov 5, 2009 at 10:52 PM, Janus Ng janusng@... 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. |
|
|
Re: [Bug] propset svn:externals with the new 1.6 syntax does not honor the revision first.Janus Ng wrote:
>I have tried the alternative syntax as you have suggested. >Unfortunately, it does not work. :( > > ^/path/to/foo foo@90 > you didn't see the correction Daniel posted 3 Minutes after the eMail you replyed too? That should have been: ^/path/to/foo@90 foo see http://svnbook.red-bean.com/nightly/en/svn.advanced.externals.html for further details -- Lorenz ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2415017 |
| Free embeddable forum powered by Nabble | Forum Help |