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

Re: Pre-commit transaction modification question

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-02-12 18:50:19 CET

Brett Wooldridge <brettw@riseup.com> writes:

> Would it be possible for the server to pass the new checksum back to
> the client in the commit-response?

Just about anything is possible if someone is prepared to design and
implement it. Are you proposing that the file I commit gets modified
by the repository and then my working copy version of the file gets
changed to match that in the repository? That would mean that the
exact version of the the file I committed (the one I tested) gets
lost. Will your pre-commit run build and regression tests with the
modified file to verify that the changes are sensible? I guess that
might be academic, if your developers cannot format files correctly
they probably can't write regression tests.

I can see that the idea of modifying the txn in pre-commit is
attractive, I have yet to see an example where I would want it to
occur in practice. I suppose it might work for something like
automatically modifying a file not otherwise involved in the
transaction, accumulating log messages in a Changelog file perhaps.

Philip Martin
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 12 18:50:44 2004

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

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