svnlook cat will take the transaction (uncommitted) as well as a revision
(committed already). Look at svnlook help cat
You will need to get a list of the files in the transaction, so svnlook help
changed will give you help.
-- Larry
On Fri, May 16, 2008 at 12:20 PM, James CE Johnson <jcej_at_tragus.org> wrote:
> Hi,
>
> I have a need to capture the content of files being committed. Not to
> change them but to analyze for one thing or another. For instance, we
> might fail the commit if a file is too big or fails formatting rules (e.g.
> -- source code) or for some other metric.
>
> I've tried "svnlook cat ..." but since the file hasn't been committed yet
> that doesn't show me the content of new files or the updated content of
> changed files. I thought I might use a combination of cat/diff to create a
> patch but that won't help me with binary files (so, failing large-file
> commits).
>
> Ideas?
>
> Thanks,
> James
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
Received on 2008-05-16 20:26:38 CEST