You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jon Gorrono <jp...@ucdavis.edu> on 2008/01/30 02:48:11 UTC
passing -r through to externals
Greetings:
I can't find any archives of this list, so I joined in order to ask a
couple questions. I guess the first has just been asked (archives?)....
the second is a bit more complicated....
stop me if you've heard this one :)
In short: Is there any way to get a rev passed from the client (say,
from -r switch) to effect the recursive updates that are based on
svn:externals?
setup:
Central module looks like..
central/branches
central/tags
central/trunk
svn:externals in 'trunk' like ..
submoduleX [URLX]
submoduleY [URLY]
submoduleZ [URLZ]
svn:externals in 'branches' and 'tags' like ...
submoduleX -r x [URLX]
submoduleY -r y [URLY]
submoduleZ -r z [URLZ]
Now if I co trunk I will get the HEAD revision from each submodule's
URL. Makes good sense.
But if I co -r z of trunk, I *still* get he HEAD revision from each
submodule's URL.
Is there something like this that can be done:
submoduleX -r {$REVISION} [URLX]
where $REVISION takes on the value of the -r flag from the client?
Thanks for your time.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: passing -r through to externals
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 29, 2008, at 20:48, Jon Gorrono wrote:
> I can't find any archives of this list, so I joined in order to ask
> a couple questions. I guess the first has just been asked
> (archives?)....
Here are the official archives but they're hard to search:
http://subversion.tigris.org/servlets/SummarizeList?listName=users
This unofficial archive is much better:
http://svn.haxx.se/users/
> the second is a bit more complicated....
>
> stop me if you've heard this one :)
>
> In short: Is there any way to get a rev passed from the client
> (say, from -r switch) to effect the recursive updates that are
> based on svn:externals?
It's not possible. You need to put the "-r" part into the definition
of the external if you want that.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org