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

Re: copy between repos works and doesn't work

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-09-19 22:24:43 CEST

On Mon, 19 Sep 2005, Daniel Rall wrote:

> On Mon, 19 Sep 2005, Peter N. Lundblad wrote:
>
> > On Mon, 19 Sep 2005, Daniel L. Rall wrote:
> >
> > > On Thu, 15 Sep 2005, Dale R. Worley wrote:
> > > ...
> > > > It is an annoyance that cross-repository copies do not work, but once
> > > > you have done a cross-repository copy (or merge!), you can fix your WC
> > > > so that it can be checked in using the attached script. What it does is
> > > > edit the .svn/entries files so that all copies forget that they are
> > > > copies and think that they're new additions. It's not productized, but
> > > > it has been reliable for me.
> > >
> > > I was wondering if this shouldn't be the default behavior for WC to WC
> > > copy operations across different repositories. This would be a big change
> > > from the current trunk behavior of completely disallowing this type of
> > > operation.
> >
> > Since copy is "add with history", I don't believe so.
>
> Sure, this wouldn't be a deep copy (with history), but a convenience for
> shallow copies which avoids a 'svn add' after shell-level 'cp'.
>
And if we someday want to implement true copies between repositories,
don't we have "painted ourselves into a corner" then? We would have to
preserve this semantic, just to avoid the user typing a command now.

Best,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 19 22:26:30 2005

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

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