- 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.
From: news [mailto:email@example.com]On Behalf Of Adrian Herscu
Sent: Monday, 25 September 2006 9:21
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.
Why it should not be possible?! I am not asking for atomic
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: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Mon Sep 25 02:01:13 2006