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

Re: svnlook changed

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-11-04 15:51:33 CET

"BRUGGEMAN Jens (JBRG)" <Jens.Bruggeman@seco-m.be> writes:

> Hi,
>
> I wanted some information about the svnlook changed output.
> I use the 'svnlook changed' command in a pre-commit hook. Therefore it is
> important I fully understand the output of the command.

If the file or directory is new, you get an 'A' in the first column.

If the file or directory was deleted, you a 'D' in the first column.

If the file or directory already existed, you get a 'U' in the first
column the file's text changed, and 'U' in the second column if the
file or directory's properties changed.

> But when you have the following situation:
> You create a new file MyTestfile.txt and add it in SVN (without commit) +
> change property svn:eol-style=native. Then you try to commit the file.
> I displayed the 'svnlook changed' information and it shows only the
> following line:
> A MyTestfile.txt
>
> I would have thought there would be the following:
> A MyTestfile.txt
> UU MyTestfile.txt

We don't repeat paths. One line per path, that's it. So, if we were
to make changes like this, you would probably see something like:

   AU MyTestfile.txt

> I want to implement in the pre-commit an extra check to make sure
> every file has the property svn:eol-style=native. If not, the
> transaction is aborted and the user will be prompted with reason.
> But I have no idea how to check the property because the 'svnlook
> changed' does not show a property change. If you allow the commit,
> the property of that new file is added in SVN though.
>
> Anyone any thoughts about implementing this?

Friend, step over here with me and allow me introduce you to the
Python bindings...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 4 15:54:49 2004

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.