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

Re: "svn:cat" - "svnlook cat" in pre-commit hook

From: Blair Zajac <blair_at_orcaware.com>
Date: Tue, 08 Apr 2008 10:16:46 -0700

NEAU Sylvain wrote:
> Hi all,
>
>
>
> In a pre-commit hook we are trying to get the md5 digest of the PREV rev
> who is commited.
>
> It seems I can't cat the PREV rev with "svn cat" nor "svnlook cat".

The PREV keyword only works from the client with a working copy and is relative
to the BASE URL that is currently checked out.

If you use svnlook cat and want to see the current HEAD version, that will
become the PREV to HEAD version, then you can use 'svnlook cat' with no -r or
-t, because the transaction hasn't committed yet.

Regards,
Blair

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-08 19:17:16 CEST

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.