You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Aleksey Nogin <no...@metaprl.org> on 2008/07/16 18:22:47 UTC
BUG: svnlook diff --diff-copy-from shows bogus property differences
(1.5.0 regression?)
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@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: BUG: svnlook diff --diff-copy-from shows bogus property differences (1.5.0 regression?)
Posted by Karl Fogel <kf...@red-bean.com>.
Aleksey Nogin <no...@metaprl.org> writes:
> 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?
I didn't see a followup in this thread, so: it looks like you filed this
as http://subversion.tigris.org/issues/show_bug.cgi?id=3248, and
cmpilato fixed it in r32181.
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org