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

Commiting working copies of several project trunks in a single revision

From: Roel Harbers <roel_at_roelharbers.nl>
Date: 2004-09-22 09:58:06 CEST

Is it possible to commit wc's of different projects in the same repo in
a single revision?

What I would like to do is the following:

I have a repo that looks like this:

- project1
   - branches
   - tags
   - trunk
- project2
   - branches
   - tags
   - trunk
- shared
   - branches
   - tags
   - trunk

I have checked out the trunks of these 3 projects

D:\svn\project1 is the wc of /project1/trunk
D:\svn\project2 is the wc of /project2/trunk
D:\svn\shared is the wc of /shared/trunk

When I make a change in /shared/trunk that also requires changes in
project1/trunk and project2/trunk (e.g. fixed a typo in a shared
function name), I would like to be able to commit these changes as a
single revision, with a single log message.

However, When I do

D:\svn>svn ci -m"typo in shared fuction fixed" project1 project2 shared

I get

svn: 'D:\svn' is not a working copy

(which is true of course)

Of course, I could check out the entire repo, and commit the 3 trunks
from there, but that would require a huge wc (containing all the tags
and branches of all projects too)

Is there another way to do this in a single revision? I think this would
be a useful feature of svn commit.

Regards,

Roel Harbers

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 22 09:58:36 2004

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