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

Re: Tagging with Externals via Scripts

From: Jonathan Herriott <herriojr_at_gmail.com>
Date: 2007-09-15 01:12:24 CEST

Andy,

Actually, after looking into it, it seems that solution will not work
for me because of how the repository is set up. It looks something
like this:

Root/
     MyProject/
          Trunk/
          Branches/
          Tags/
     SomeOtherProject/
          ...
     ExternalProjects/
          Trunk/
               external1/
               external2/
               ...
               externalN/
          Branches/
          Tags/

I didn't set up the repository, so I have no control over the
structure. I think I'll have to do it by hand. Since I cannot modify
the structure to match what works with svncopy.pl, how am I able to
properly change the externals?

Thanks,
Jon

On 9/14/07, Jonathan Herriott <herriojr@gmail.com> wrote:
> I'll look into. Thanks!
>
> On 9/14/07, Andy Levy <andy.levy@gmail.com> wrote:
> > On 9/14/07, Jonathan Herriott <herriojr@gmail.com> wrote:
> > > Hi all,
> > >
> > > Sorry if this gets posted twice, but the first time I submitted, I
> > > wasn't registered, so I don't know if it got through or not.
> > >
> > > I've been having some issues with subversion which I was hoping you
> > > guys could rectify.
> > >
> > > First of all, my project is set up with about 5 external projects
> > > (which get updated quite frequently), and
> > > I'm looking to tag my project along with my externals via a script.
> > > The method I go about it is:
> > >
> > > svn pg svn:externals $MY_PROJECT
> > >
> > > and then I used the returned externals to tag them vi svn cp.
> > >
> > > I then tag my main project via svn cp, and I run into a problem while
> > > setting the externals to the new externals.
> > >
> > > I have tried using svn ps svn:externals --revprop -r HEAD
> > > $NEW_EXTERNALS $MY_PROJECTS_TAG.
> > >
> > > When I do a checkout of the project via svn co $MY_PROJECTS_TAG, the
> > > externals are still set to the original externals instead of the
> > > tagged externals.
> > >
> > > Any idea on why this is and how I can get around it?
> >
> > It is because when you copy to make the branch/tag, the externals
> > point at a "moving target" - they aren't fixed at a specific version.
> > By design. Everything was copied exactly.
> >
> > svncopy may be what you need.
> > http://svn.collab.net/repos/svn/trunk/contrib/client-side/svncopy/svncopy.README
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 15 01:08:59 2007

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.