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

Re: Is a two step commit possible?

From: Hilco Wijbenga <hilco.wijbenga_at_gmail.com>
Date: Fri, 31 Oct 2008 16:37:28 -0700

On Fri, Oct 31, 2008 at 05:01, Kraja, Toni
<Toni.Kraja_at_bci.tu-dortmund.de> wrote:
> I would like to use svn now this way:
>
> First: if i have worked on a file, commit it to the first server to test
> if the project with the current changes is working as excepted.
>
> Second: Commit the changes then to the second server to have a stable
> copy on there.

Why would this require another commit? Can't you just use a working
copy on the second server? I would think a simple svn up would do the
trick.

Otherwise, create a second project that uses svn:externals (with a
specific revision number) to link to your actual project. You can then
commit at will to your project but only update the svn:externals link
when you're ready.

> Is there any easy way to change it this way? I except that i have to
> announce somehow the first server folder as the repository and then let
> the second server do updates if necessary, am i right?
>
> What disturbs me on this idea is, that a problem i have with the way it
> works now would still occur: Unnecessary high counting of the revision
> number and filling the svn history with too many minor changes that had
> to be made for testing.

I don't understand the problem. Who cares about the revision number?
And I would think it's the job of an SCM tool to store all those minor
changes? :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-01 00:37:49 CET

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.