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

Re: Commiting working copies of several project trunks in a single revision

From: Greg Goodrich <ggoodrich_at_medinotes.com>
Date: 2004-09-23 00:13:15 CEST

We accomplish this by laying out the repository in a slightly different
manner (which is probably not a good option for you since you already
have your repository set up). Instead of what you have, if you had the
following then you could do what you want:

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

Roel Harbers wrote:

> 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

-- 
*Greg Goodrich*
Development Manager
*MediNotes Corporation*
1025 Ashworth Road, Suite 222
West Des Moines, IA 50265
Phone: 515.327.8850 ext. 251/
/Fax: 515.327.8856
	
<http://www.medinotes.com>
*Charting Plus - "The Best EMR Value on the Market!"
**www.medinotes.com* <http://www.medinotes.com/>
 
Received on Thu Sep 23 00:13:47 2004

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.