Package: subversion
Version: 1.9.7-2
Severity: normal

It may happen that when operative and peg revisions differ, one gets
an error "svn: E160016: '...' is not a directory in filesystem '...'"
while this is completely wrong. This bug is also present in stretch
(1.9.5-1+deb9u1), but is not present in 1.8.8 on Ubuntu 14.04.5 LTS.

Here's what I get (here, on this machine, the repository has just been
created from a dump for testing purpose):

* When the revisions are the same, this is OK:

zira:~> svn ls -r99808 
file:///home/vinc17/private/svn-tmp/perso/tcl/fidelite@99808
fidelite

zira:~> svn ls -r99809 
file:///home/vinc17/private/svn-tmp/perso/tcl/fidelite@99809
fidelite

* When the revisions are different, this is not:

zira:~> svn ls -r99808 
file:///home/vinc17/private/svn-tmp/perso/tcl/fidelite@99809
svn: E160016: Failure opening '/perso/tcl/fidelite'
svn: E160016: '/perso/tcl' is not a directory in filesystem 
'99759db8-4ec0-0310-8bf9-df86780d22d8'

zira:~> svn ls -r99809 
file:///home/vinc17/private/svn-tmp/perso/tcl/fidelite@99808
svn: E160016: Failure opening '/perso/tcl/fidelite'
svn: E160016: '/perso/tcl' is not a directory in filesystem 
'99759db8-4ec0-0310-8bf9-df86780d22d8'

Note that if I remove "/fidelite" from the 4 above commands to list
the directory, I do not get any error.

The commit r99809 does not involve the /perso/tcl path at all. Note
also that the above revisions are just an example. It seems that I get
the same behavior with any revisions from the point the file was added
in the repository, i.e. an error iff the operative and peg revisions
differ.

The issue seems to occur only on this particular file.

Unfortunately, I do not have any simple test case.

Earlier information can be found in the following thread:

  https://svn.haxx.se/users/archive-2017-11/0000.shtml

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages subversion depends on:
ii  libapr1        1.6.2-1
ii  libaprutil1    1.6.0-2
ii  libc6          2.24-17
ii  libldap-2.4-2  2.4.45+dfsg-1
ii  libsasl2-2     2.1.27~101-g0780600+dfsg-3
ii  libsvn1        1.9.7-2

subversion recommends no packages.

Versions of packages subversion suggests:
pn  db5.3-util          <none>
pn  libapache2-mod-svn  <none>
ii  patch               2.7.5-1+b2
ii  subversion-tools    1.9.7-2

-- no debconf information

Reply via email to