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

RE: Re: Commit to multiple repositories

From: <SebastianUnger_at_eaton.com>
Date: 2006-09-25 02:01:01 CEST

- Create yet another repository somewhere (or use one of the existing ones)
- Create an empty folder in that repository
- Set svn:externals property on that folder to refer to all projects you want to modify
- Checkout that folder. That should get all projects required
- Make mods
- Commit from top level.
- As far as I have gathered from comments on the list (I have not tried this myself), this should commit all projects to their respective repositories atomically.

That said, I agree that you probably want to have only one repository with several projects in it. That seems to be the normal setup if projects are related in any way, however distant.


-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of Adrian Herscu
Sent: Monday, 25 September 2006 9:21
To: users@tortoisesvn.tigris.org
Subject: Re: Commit to multiple repositories

Stefan K√ľng wrote:
> Adrian Herscu wrote:
>> Hi all,
>> I have project divided into multiple sub-projects, each one stored in
>> its own Subversion repository.
>> Sometimes I am making changes across the project (e.g. changing the
>> license text, renaming the project, changing the URL to some schema
>> file, etc.).
>> Is it possible to commit all sub-projects at once?
>> I have tried to select all working copies and commit, but TortoiseSVN
>> commits only the working copy on which the context menu was launched
>> (not the entire selected set).
> If you think about it, you would know that it's not possible:
> Each repository is independent of the others. A commit in Subversion is
> per definition atomic. But a commit to two (or more) different
> repositories can't be atomic.
> You have to commit those changes independently, as are your repositories.
> Stefan

Why it should not be possible?! I am not asking for atomic
multi-repository commits!
Just want to select few working copies and commit them at once, instead
of clicking four times for each commit.
Currently I am using a batch script for this, but TortoiseSVN is all
about GUI, so why not? My batch script is very rudimentary, commits are
done serially, the reports go to the console, I have to look over to see
which commit failed...

To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Mon Sep 25 02:01:13 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

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