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

Regression in proplist in svn-1.8.8

From: Branko Čibej <brane_at_wandisco.com>
Date: Fri, 07 Mar 2014 14:24:36 +0100

I think I found a regression in svn_client_proplist in 1.8.8, compared
to 1.8.5. When invoking

    svn proplist -R --show-inherited-props

on the root of a working copy that inherits properties from above the
root, the results are different when the WC root is given as a relative
vs. absolute path.

I've attached a reproduction script.

The last few lines of output of the script with 1.8.5 are:

+ svn pl -R --show-inherited-props wc
Inherited properties on 'wc',
from 'file:///Users/brane/src/svn/test/repo':
  prop1
Properties on 'wc/B':
  prop2
++ cd wc
++ pwd
+ svn pl -R --show-inherited-props /Users/brane/src/svn/test/wc
Inherited properties on '/Users/brane/src/svn/test/wc',
from 'file:///Users/brane/src/svn/test/repo':
  prop1
Properties on '/Users/brane/src/svn/test/wc/B':
  prop2

but with 1.8.8 they're:

+ /opt/subversion-1.8bin/svn pl -R --show-inherited-props wc
Inherited properties on 'wc',
from 'file:///Users/brane/src/svn/test/repo':
  prop1
Properties on 'wc/B':
  prop2
++ cd wc
++ pwd
+ /opt/subversion-1.8/bin/svn pl -R --show-inherited-props /Users/brane/src/svn/test/wc
Inherited properties on '/Users/brane/src/svn/test/wc/B',
from 'file:///Users/brane/src/svn/test/repo':
  prop1
Properties on '/Users/brane/src/svn/test/wc/B':
  prop2

Note the difference on the lines that begin with "Inherited properties
on ..."; seems clearly wrong to me. Also, commenting out line 31 in the
script (which adds a property within the WC) makes the difference in
output go away.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com

Received on 2014-03-07 14:25:15 CET

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