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

BUG: svnlook diff --diff-copy-from shows bogus property differences (1.5.0 regression?)

From: Aleksey Nogin <nogin_at_metaprl.org>
Date: Wed, 16 Jul 2008 11:22:47 -0700

After upgrading my server to 1.5.0 (and a repository dump/load), I now
see bogus property changes reported by "svnlook diff --diff-copy-from -r
NNN". Basically, it appears that when comparing properties, the
--diff-copy-from is simply ignored and all the file properties are being
reported as added!

This is fully reproducible. In the scenario below, the "Added:
svn:eol-style" is bogus. I could not find any existing issues on this -
should I file one?

If I do the same in 1.4.6, all the svnlook reports is "Copied: bar.txt
(from rev 1, foo.txt)"

--------------------------------------------------------------------
% svnadmin create /tmp/testrepo
% svn co file:///tmp/testrepo checkout
Checked out revision 0.
cd% cd checkout/
% touch foo.txt
% svn add foo.txt
A foo.txt
% svn ps foo.txt
% cd ..
% rm -rf testrepo checkout/
% svnadmin create /tmp/testrepo
% svn co file:///tmp/testrepo checkout
Checked out revision 0.
% cd checkout/
% touch foo.txt
% svn add --no-auto-props foo.txt
A foo.txt
% svn ps svn:eol-style native foo.txt
property 'svn:eol-style' set on 'foo.txt'
% svn ci -m "foo" foo.txt
Adding foo.txt
Transmitting file data .
Committed revision 1.
% svn cp foo.txt bar.txt
A bar.txt
% svn ci -m "bar" bar.txt
Adding bar.txt
s
Committed revision 2.
% svnlook diff --diff-copy-from -r 2 /tmp/testrepo/

Property changes on: bar.txt
___________________________________________________________________
Added: svn:mergeinfo
    +
Added: svn:eol-style
    + native

% svnlook --version
svnlook, version 1.5.0 (r31699)
    compiled Jun 24 2008, 23:51:38

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).

The following repository back-end (FS) modules are available:

* fs_base : Module for working with a Berkeley DB repository.
* fs_fs : Module for working with a plain file (FSFS) repository.

Aleksey

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-07-16 20:23:05 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.