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

Re: [FEAT. REQ] Aggregate working copy ?

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-10-01 15:57:00 CEST

Looking through old mail, I came across this question.

Dominique PERETTI wrote:
>
> I've been playing a little bit with externals. This is great, but
> they're only a partial answer to a problem that probably other users have.
>
> I have 3 different working copies from the same repository :
[...]
> Of course, I want a single, consistent commit, for all working copies.
[...]
> I want to be able to define a set of working copies. Could be in a
> "aggregate.svn" file, just containing the paths of my 3 working copies.
>
> Then, I could type :
> svn status --aggregate aggregate.svn
> svn commit --aggregate aggregate.svn
> etc... and thus operate on all working copies at the same time.

The only reply that appeared on the "dev" list was mainly talking about the case of having working copies from different repositories. In your case I think you can just use an environment variable, like this:

AGGREGATE="engine sites Flash"

svn status $AGGREGATE
svn commit $AGGREGATE
etc.

There is also a feature just like your "--aggregate" suggestion, but called "--targets". It is available on some commands such as "svn commit", but not currently on other commands such as "svn status". I don't see any reason not to make "--targets" work on all commands that take targets.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 1 15:58:22 2004

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

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