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

Re: Validating a new transaction with svnlook cat -t

From: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 2 Apr 2009 16:05:25 -0400

What is the svnlook subcommand you're running? You don't list that:

    svnlook -t $TXN /var/svn/repos trunk/xxxx/file.yml

Do you mean:

    svnlook cat -t $TXN /var/svn/repos trunk/xxxx/file.yml

instead?

I'm assuming "svnlook cat". It is possible that the YML file is
formatted with just <LF> line endings and not <CR><LF>, and that
you're reading this from a Windows system?

What language is your hook script written in?

On Thu, Apr 2, 2009 at 3:45 PM, mindspin311 <connoc.mindspin_at_gmail.com> wrote:
> I'm trying to validate all yaml files that are committed to check if they
> meet our standards (i.e. dev/prod/qa environments not having different
> variables).
>
> When I do svnlook -t $TXN /var/svn/repos trunk/xxxx/file.yml, It returns a
> single line string. I don't want this. Half the point of validating a yaml
> file is making sure that it is well formed. I can't have my script load the
> yaml file the way it is.
>
> Is there a way I can get the latest file + the transaction with all the
> spaces and returns?
> --
> View this message in context: http://www.nabble.com/Validating-a-new-transaction-with-svnlook-cat--t-tp22855618p22855618.html
> Sent from the Subversion Users mailing list archive at Nabble.com.
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1523409
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>

-- 
David Weintraub
qazwart_at_gmail.com
All attachments have been scanned for viruses and have been found to
be virus free. So,  just go ahead and open them. Go ahead... Just
click on it... Trust me.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1523666
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-02 22:06:14 CEST

This is an archived mail posted to the Subversion Users mailing list.