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

[TSVN] Re: Commit to several working copies at the same time

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2004-09-28 18:43:55 CEST

Roel,

Spotted this on the SVN user list. Don't know if it would help your
situation.

Thread: Partial Checkout (Bob Peterson)
Our collection of products is grouped into a single folder under
.../src/trunk, as a wide and flat hierarchy. That is, trunk contains 43
folders. I want to check out only some of these and still have atomic
updates and commits. How?

For my project I only need 14 of these. Doing a commit or update takes a
very long time. One way I've found to shorten this is to check out only
the 14 folders I need. With TortoiseSVN on Microscruff Windows XP I can
update these easily with a group select and update. I can't commit them as
a multiple selection, so I have to resort to individual commits. That
thwarts the nice atomic commit the Subversion developers worked so hard at
putting in.

Reply: (Ben Collins-Sussman)
Use svn 1.1. Do a 'svn co -N', then 'svn up foodir' for each value of
foodir, to make specific dirs appear. That should work for you.

Simon

"Roel Harbers" wrote
> Hi,
>
> I have several projects in a single repository. I have the trunk of each
> project checked out into a seperate working copy. All these working
> copies are placed under a single directory ("D:\svn").
>
> Repo:
> - proj1
> - branches
> - tags
> - trunk
> - proj2
> - branches
> - tags
> - trunk
>
> local files:
>
> D:\svn\proj1 (working copy of proj1/trunk)
> D:\svn\proj2 (working copy of proj2/trunk)
>
> Now I want to be able to make some related changes to both projects, and
> commit them both at the same time, with the same log message, and
> preferably in a single revision. Is this possible?
>
> When I select the proj1 and proj2 directories in the explorer, and click
> commit, the changes for both wc's are displayed correctly. However, when
> I press OK, svn says D:\svn is not a working copy (which is correct.)
>
> Doing the same with the update command (select several different wc's
> under a regular directory and press update) works fine, even when the
> wc's are not in the same repo. Is it possible to do the same with
> commit? (not neccesarily across different repos, although that would be
> nice too)
>
> I understand I could just copy-paste the message, and do two seperate
> commits. However, the changes are related, so it would be nice to have
> it in a single revision. Also, the number of wc's involved could be more
> than 2.
>
> Regards, and thanks for a great product,
>
> Roel Harbers

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Sep 28 19:56:21 2004

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