On Jan 13, 2005, at 6:39 AM, Alex R. Mosteo wrote:
> I have a project which uses an external (in another repository) folder
> via the svn:externals property.
> Now if I make a copy of my project to a Tags folders to keep a
> historical reference, is the revision of the external folder copied
> too? In other words, I want to have a snapshot of my project and of
> the external dependencies so, if I sometime later pull a copy of that
> past tag, the external resource will be retrieved at its state at the
> moment of the tag creation, not in its current revision.
> After summary inspection, I have the impression that the external
> property only stores the path.
It stores the URL to the repository.
I'm not sure what happens currently when copying in this case, I
haven't got to using svn:externals yet. But I can tell you what I
think should happen.
When you make the copy (tag), there should be an option that copies the
svn:externals property and modifies it to add to the URL the current
revision number of that URL (or the rev of the working copy in that
folder as appropriate), if the URL doesn't already have a revision #.
I think svn:externals allows any URL, so svn:/blah/foo@123 should be
valid. No, wait... checking the "book" I see an example that has:
$ svn propget svn:externals calc
third-party/skins/toolkit -r21 http://svn.red-bean.com/repos/skin-maker
Note the -r21 on that last line, not the syntax I would have expected,
and oddly it isn't discussed in that section of the book. It does
imply that the revision can be specified though, so you could probably
modify the svn:externals property yourself to include the revision.
But an automated way to do this would certainly be helpful.
Someone who has actually done this should step up and clue us both in
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Thu Jan 13 17:18:48 2005