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

Re: Doing svn checkouts on top of svn checkouts?????

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 12 Jul 2011 06:46:54 +0300

Nico Kadel-Garcia wrote on Mon, Jul 11, 2011 at 23:42:07 -0400:
> On Mon, Jul 11, 2011 at 10:21 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> > Geoff: you cannot point a single working copy item at more than one URL.
> > (well, unless you create two externals with the same target file.  Don't
> > do that.)
> >
> > Nico: explain /exactly/ what you have been doing (best: a script(1)
> > transcript).  I don't know if you are complaining about nested working
> > copies, or about running svn co $URL $dir where $dir is a subdir or root
> > of a working copy, or something else altogether.
>
> Oh, it's not *me* doing it. Someone, as part of their software build
> environment, is doing the moral equivalent in their setup scripts of
> this:
>
> svn checkout $URL $targetdir
> make -C $targetdir install
>
> Then, for testing, they do this
>
> cd $targetdir
> # Edit local files, not necessarily submitted to
> upstream repository
>
> Then a day or a week later, they re-run the script.
>
> svn checkout $URL $targetdir

AFAIK, this will run 'svn up' and not lose local mods.
Received on 2011-07-12 05:47:47 CEST

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