On Feb 27, 2005, at 12:41 PM, Basile STARYNKEVITCH wrote:
>
> I only want to version control a project made of C source files, a few
> shell scripts, a GNUmakefile, and a MySQL database; of course I don't
> version-control mysql binary files (which are not accessible to me),
> only the result of mysqldump.
>
> So I will wrap svn commit inside a shell script, but I still believe
> it is a pity that *transforming* commands (like mysqldump) cannot be
> invoked at commit time by the svn commit command.
I understand now; as others have pointed out, you're looking for a
*client* hook feature, rather than a server-hook feature. I believe
Clearcase has something like this.
To my knowledge, nobody's (yet) voiced much interest in such a feature.
Maybe that will change someday. In the meantime, yes, you're right --
you can simply write a script that does the sqldump and then commits
the working copy.
>
> I still believe that modern version control systems should be able to
> version-control user data which is not in plain textual (or platform
> neutral binary) form,
Modern version control systems can version-control anything you want:
textual, binary, it doesn't matter. Subversion treats all files as
opaque collections of bytes, so there are no limits as to what you can
version-control.
But no, it doesn't have client-side scriptability features.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 27 20:39:27 2005