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

[Subclipse-users] Atomic commit with multiple projects

From: Andreas Krüger <Andreas.Krueger_at_eplus.de>
Date: 2006-05-30 09:41:01 CEST

A commit involving files from several Eclipse Projects, to the same SVN
repository, is split up by Subclipse into several individual commits, one
for each project.

So what should be a single commit enters the repository in a non-atomic
fashion.

This is not nice. After all, "atomic commit" is one of the Good Things we
SVN users are proud of.

In our particular setup in this project, we have a "common / server /
client" - splitup of our code, and will port the whole thing from CVS to
SVN some time next month or so. I would love to be able to add "atomicity"
to my internal "subclipse advertising campaign" ;-) .

This issue had been discussed in a thread "Atomic commit with multiple
projects" back in October 2004. (If you send an email to
users-get.1430_1445@subclipse.tigris.org , that will give you those old
messages, plus a few unrelated others.)

The workaround promoted at that time: For the commit, do not use Subclipse,
but use Tortoise or another external SVN client. For this workaround to
work, it may be neccessary to have checked out a common root directory
(such as "trunc"), containing all the individual Eclipse projects.

Anyway, the discussion back in 2004 ended with Céderic's remark and
question:

> No, I think this is possible if the projects are from the same
repository.
>
> Can someone add an issue ?
>
> Cédric

I don't think anybody did add that issue.

I volunteer. If I read nothing convincing to the contrary, I will add that
issue, some time next month (next week, if I get around to it).

Regards,

Andreas

P.S.: I have tried to post an earlier version of this message to
users-return-1445-tigrisq-archive=mail-subclipse=users=tigris.org=tigris.org@subclipse.tigris.org
 , to keep the thread. But that has not worked. At least, I cannot find my
own message in the mailing list archive. On the other hand, I received no
problem notification from the mailing list software. Something did not work
as expected. - So, if the earlier version did get through and this does
produce a dupe, please excuse.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue May 30 09:41:25 2006

This is an archived mail posted to the Subclipse Users mailing list.

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