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. br...@wandisco.com

Attachment: testinherited.sh
Description: Bourne shell script

Reply via email to