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

Re: expanding keywords

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-04-12 19:03:37 CEST

On Apr 12, 2006, at 16:50, Andy Levy wrote:

> As I understand it, hook scripts should not modify files being
> committed. If they do, then your working copy will not match the
> repository after a commit, unless you update immediately afterward.

If the hook script modifies the transaction in progress, even
updating the working copy afterwards will not help, because the
working copy will think it is already up to date at revision N, and
the repository has a different idea of what revision N is.

If the hook script lets the transaction go through, and then
immediately commits a second transaction with the desired change,
then what you said is true: the working copy will be out of date, and
the user will need to update his working copy to get the change.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 12 19:05:07 2006

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.