[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: Jan Hendrik <list.jan.hendrik_at_gmail.com>
Date: Mon, 15 Sep 2008 09:12:56 +0200

Concerning Re: Cheap SVN copy of file just add
Mark Reibert wrote on 5 Sep 2008, 0:36, at least in part:

> 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.

Thanks, Mark. I did the two-step commit. Never understood how
to create links of either soft or hard kind in Windows or what the
difference is (not thinking of program links in the start menu here
however) and beside as practical they may be the whole idea gives
me the creeps - never really knowing if a delete or move now
deletes or moves the instance under the curser or the actual file or
what. At a glance I mean, without expert investigation.

As far as I can tell from the progress dialog in TSVN the sequence
of a commit is random, so I suppose it would be virtually
impossible to have svn copy of a just added, but not yet committed
file ever working, and probably the atomic character of commits is
fundamentally against, too.

Jan Hendrik

> 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
> ----------------------

Freedom quote:

     The revelation of thought takes man out of servitude into freedom.
               -- Ralph Waldo Emerson

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-15 09:11:09 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.