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

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

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-09-12 12:49:04 CEST

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.

> 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 !?!

> 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

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Sep 12 13:55:35 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.