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

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

From: Adrian Wilkins <awilkins_at_prepaymentcards.com>
Date: 2005-01-07 11:38:17 CET

(please copy replies to sender)

> Roel Harbers wrote:
>> 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").
>> 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.)

I ran into this too ; but I found one of the practices I've been using
with Subversion / TortoiseSVN got around this for me.

I've been using "view" folders to aggregate working copies of associated
projects that have their own trunk / branches / tags hierarchy, where I
obviously don't want a working copy of the whole tree.

So my repos looks a bit like this..


The folder /views/foobar/trunk is an empty folder with the svn:externals
property set to

foo svn://repos/project/foo/trunk
bar svn://repos/project/bar/trunk

Now if I check /views/foobar/trunk out to d:\src\foobar, I get a working
copy of both trunks as subfolders. The happy side-effect is that I can
view the contents of d:\src\foobar, select the subfolders foo and bar,
perform an SVN Commit via the TortoiseSVN context menu, and because
d:\src\foobar *IS* a working copy, it commits all the changes into the
same revision without complaint.

In addition, you can recreate your work folder elsewhere with minimum
hassle. I've taken to putting .VBG files in the view folder to group VB6
projects into the same IDE session too.

When I ran into this problem, it was checking in working copies of two
projects at once in my master source folder (d:\src), which is NOT a
working copy. I was able to create a view folder, check it out, set the
svn:externals property, move the existing working copies into the new
view folder, and commit my changes without a hitch.

I hope this is helpful.


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to which they
are addressed. Its unauthorised use, disclosure, storage or copying is
not permitted. If you are not the intended recipient, please destroy
this email and any attachments and inform the sender by return email.
Internet e-mails are not necessarily secure. Prepayment Cards Limited
does not accept responsibility for any changes made to this message
after it was sent.
This footnote confirms that this email has been swept for viruses but
whilst all reasonable care has been taken to avoid the transmission of
viruses, it is the responsibility of the recipient to ensure that the
onward transmission, opening or use of this message and any attachments
will not adversely affect its systems or data. No responsibility is
accepted by Prepayment Cards Limited in this regard and the recipient
should carry out such virus and other checks as it considers

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Jan 7 12:55:32 2005

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