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

Re: Cheap SVN copy of file just added?

From: Mark Reibert <svn_at_reibert.com>
Date: Fri, 05 Sep 2008 00:36:34 -0700

I do not think this is possible - with plain files - without the
two-stage commit. You might consider a soft link in B, but I suspect
that will not work in your deployed environment. A hard link would be
nice, but this is not supported in SVN.

On Fri, 2008-09-05 at 09:17 +0200, Jan Hendrik wrote:
> Hi all,
>
> I guess this is not possible, but want to ask anyway:
>
> I just added an image going with a new webpage, neither
> committed yet.
>
> Incidentally a modified version of the webpage with the very same
> image is to be added simultaneously to a different place (same
> repository, different folder resolving to different domain, so pointing
> to the image in just one place is no good solution).
>
> After adding the image to place A I found it could not be SVN
> copied to another place yet. I expected this for a file not yet in the
> repository, but probably I have missed something?
>
> Certainly I could split the operation into two steps: add&commit the
> stuff in place A, then copy to place B and commit in a second
> step. Illogical for the human workflow where adding to A&B is but
> one operation, but to be weighed against duplicating things in the
> repository. Not much of an issue spacewise if happening now and
> then, but a nuisance if happening more frequently.
>
> SVN 1.4.6 (client) / Win2K.
>
> TIA
>
> Jan hendrik
> ---------------------------------------
> Freedom quote:
>
> We've gone astray from first principles.
> We've lost sight of the rule that individual freedom and ingenuity
> are at the very core of everything that we've accomplished.
> Government's first duty is to protect the people, not run their lives.
> -- Ronald Reagan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>

-- 
----------------------
Mark S. Reibert, Ph.D.
svn_at_reibert.com
----------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-05 09:36:56 CEST

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.