Re: Suggestions on modifications on commit
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-09-29 22:50:56 CEST
Anders Engström wrote:
Huh? Why does this have anything to do with the document format? As far as I can see, the lack of pushing back a modification made by a pre-commit hook will affect all files equally. OpenOffice bundled gzipped XML documents are particularly difficult to work with in a simple way (in terms of keyword substitution etc.).
Or do you mean that if he used a file format that can have variable-length text fields updated, then he could use Subversion's keyword substitution directly and wouldn't need a pre-commit hook? That's true, but then why is he using a pre-commit hook anyway? If the aim is to get some keyword into the WC file before commit, then run the document-updating program before running "svn commit", using a batch file to reduce the pair to one command for the user.
- Julian
---------------------------------------------------------------------
|
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.