Weintraub, David wrote:
>> = David Weintraub
> @ = Max Bowsher
>> Others would require some way for the server
>> to examine the version of the file that is sitting on the client's
>> machine
>> without that version of the file being added to the source archive.
>
> @ Already possible during pre-commit hook. The proposed commit has been
> placed
> @ in full as a transaction in the repository, and the pre-commit hook can
> @ examine it.
> @ "svnlook cat -t $TXN ..."
>
> Can the pre-commit hook (via the svnlook command) examine the source code?
> We had a policy that all non-binary files must have a particular copyright
> meessage in them. How could Subversion do that?
pre-commit hook. Using svnlook, or perl/python bindings, or custom C hook
program.
As I said above.
...
> Nope, I'd rather have the server run the hook scripts. As far as I am
> concerned Subversion does it the right way. Of course, that means you
> can't
> examine the file before it gets checked-in. At least not the way the
> client
> and server now communicate with each other.
Yes you can.
As I said above.
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 15 19:51:45 2005