SteveKing wrote:
> 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").
>>
>> 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?
>
>
> If they both are located in the same repository, then it's possible. If
> they're from different repositories, then it's not possible.
They are both in the same repo, but it doesn't work.
>> 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.)
>
>
> What version of TSVN are you using? This works for me !?!
v1.0.8.1430, and I just tried v1.1.0rc1 too. Same result: "D:\svn is not
a working copy"
Note that "D:\svn" is, indeed, not a working copy: it's just a folder I
made to contain the wc's from all related projects from my repo.
I cannot check out all projects as a single wc, without including all
tags, branches, etc. from all projects. That would mean a huge wc, which
really isn't practical nor desirable.
>> 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)
>
>
> You have to understand that update and commit are two completely
> different commands. What works with update doesn't necessarily work with
> commit. Update's are not atomic (don't have to be), but commits _must_
> be atomic. So updating several items can be done even if they're not
> related at all, but committing can only work if they're from the same
> repository.
>
> Stefan
>
regards,
Roel Harbers
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Sep 13 11:33:42 2004