I discovered this case while writing a new set of tests for tree
conflict detection, which tests for both file and directory victims in
tree structures of various depths.

I am faced with a segmentation fault in

libsvn_client/merge.c: merge_dir_opened()

when it is passed an adm_access == NULL.

This occurs when a merge tries to add a file to a *directory* that
existed in a common ancestry, but was deleted on the local branch.

First, in subversion/libsvn_client/repos_diff.c, open_directory() looks
up this previously deleted directory, using get_path_access(). It yields
an adm_access == NULL, which is passed to merge_dir_opened().

neels_at_dub:/arch/elego/svn/tc/subversion/tests/cmdline
$ gdb /arch/elego/svn/tc/subversion/svn/svn
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...