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

Re: Problem with svn:externals

From: John Peacock <john.peacock_at_havurah-software.org>
Date: 2007-12-01 13:51:32 CET

Gopalakrishnan, Dinesh wrote:
> So, my requirement here is that when i do a `svn ci` from Folder-A, i
> want all the changes in Folder-B, Folder-C and Folder-D to be checked-in.

A lot of people have told you why you can't have that, but no one has told you
how to get around that. You cannot, in a single transaction, commit all changes
in A, B, C, and D, but there isn't anything to say that you can't commit them
all sequentially (while sitting in Folder-A:

        $ svn ci && svn ci Folder-B && svn ci Folder-C && svn ci Folder-D

You could even write a simple script that would have this effect, so you could
use -F to share the same commit message.

The issue that I don't think that the other people discussed was that each of
the externals could be a completely independent repository, hence there is no
concept of a single transaction covering all of the commits, which is a core
design element of Subversion.

HTH

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Dec 1 13:51:35 2007

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.