You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Matthew Gregory <ma...@nogsnet.com> on 2008/12/16 11:00:25 UTC

svn:externals with a fixed revision

Hi All,

This is my first post to this mailing list as I've only just started to 
use SVN. I must say I'm getting on really well with it. I have a 
question about svn:extenals though.

I've setup the svn:externals property so it has this: /"qooxdoo-sdk 
-r16997 
http://qooxdoo.svn.sourceforge.net/svnroot/qooxdoo/trunk/qooxdoo" /and 
it works as expected. The only thing I can't understand is when I do an 
update it always goes to qooxdoo.svn.sourceforge.net to check for 
updates. Surely it could just see that I already have r16997 locally 
unchanged and skip this? Or am I missing something?

Thanks!
Matt

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=984916

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svn:externals with a fixed revision

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
Matthew Gregory wrote:
> Hi All,
> 
> This is my first post to this mailing list as I've only just started to
> use SVN.
So one thing you need to know is you have to do "reply all" to keep it
on the list.

Matthew Gregory wrote:
> Thanks for the reply,
> I am using the the syntax you mentioned (@1234) and it still contacts
>the server. Its not been too bigger problem for us as I thought it
>would have been so I don't mind living with it, I just couldn't
>understand why its doing it.
>
> Thanks,
> Matt
Ok I thought that might be the case.  I forgot the more obvious answer
though, update has a --ignore-externals switch.

That said, keep with the @1234 syntax to guarantee that if something
gets moved, you still end up getting the tree you expect.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=986853

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svn:externals with a fixed revision

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
Dave Lawrence wrote:

> http://svn.example.com/trunk -r123 is guaranteed to be the same on
> Monday as it is on Tuesday!  That's because there's an implicit @HEAD ie
> http://svn.example.com/trunk@HEAD -r123

whoops I meant that's *not* guaranteed to be constant

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=986726

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svn:externals with a fixed revision

Posted by Dave Lawrence <dl...@ad-holdings.co.uk>.
Matthew Gregory wrote:
> Hi All,
> 
> This is my first post to this mailing list as I've only just started to
> use SVN. I must say I'm getting on really well with it. I have a
> question about svn:extenals though.
> 
> I've setup the svn:externals property so it has this: /"qooxdoo-sdk
> -r16997
> http://qooxdoo.svn.sourceforge.net/svnroot/qooxdoo/trunk/qooxdoo" /and
> it works as expected. The only thing I can't understand is when I do an
> update it always goes to qooxdoo.svn.sourceforge.net to check for
> updates. Surely it could just see that I already have r16997 locally
> unchanged and skip this? Or am I missing something?

http://svn.example.com/trunk -r123 is guaranteed to be the same on
Monday as it is on Tuesday!  That's because there's an implicit @HEAD ie
http://svn.example.com/trunk@HEAD -r123

but
http://svn.example.com/trunk@123 should always remain constant.

Welcome to the spooky world of peg revisions.
http://svnbook.red-bean.com/en/1.5/svn.advanced.pegrevs.html

and here's a long discussion about it
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=103922

However, changing to that syntax probably won't stop it contacting the
server but you could give it a try.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=986610

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].