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

Re: svn:externals set to tag

From: Daniel Schlyder <daniel_at_dascdev.net>
Date: 2003-09-11 17:08:46 CEST

[11.09.2003 12:10:51] Michael Wood:
> Do you mean this?

> projB: svn cp trunk tags/tag1 (rev=15)

> projA: svn ps svn:externals "projB file:///.../projB/tags/tag1" trunk

> projB: do some work on trunk. (rev=23)
> projB: svn cp trunk tags/tag2 (rev=24)

> projA: svn up (rev of external = 24)
> projA: svn ps svn:externals "projB file:///.../projB/tags/tag2" trunk
> projA: svn up (Nothing updated since the rev hasn't changed.)

Yes, exactly!

> I'm not sure svn:externals is designed so that you can update the
> property to another tag. Instead, you could just take note of the
> revision tag1 is created and do this:

> projA: svn ps svn:externals "projB -r 15 file:///.../projB/trunk" trunk
> [...]
> projA: svn ps svn:externals "projB -r 24 file:///.../projB/trunk" trunk

> But I've never used svn:externals, so I could be wrong :)

> BTW, the "foo/bar -r 1234 http://example.com/repos/zag" syntax for
> svn:externals doesn't seem to be mentioned in the book. It is in the
> output of "svn help propset" though.

Ok, many thanks! I guess this should work nicely for me since I only create
tags from trunk.

Thanks again,
Daniel Schlyder

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 11 17:09:59 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.