On Thu, 2011-02-17 at 21:04 +0530, Noorul Islam K M wrote: > Julian Foad <julian.f...@wandisco.com> writes: > > > Noorul Islam K M wrote: > > > >> Julian Foad <julian.f...@wandisco.com> writes: > >> > On Tue, 2011-02-15, Noorul Islam K M wrote: > >> >> + if ((kind == svn_node_file) && ! force) > >> > > >> > What if the obstruction is not a file but something else (dir or > >> > unknown)? > >> > >> Obstruction of directory is already taken care of. > > > > I'm asking about obstruction *by* a directory (or symlink or ...), in > > otyher words when (kind == svn_node_dir) or (kind == svn_node_unknown). > > > > Are you talking about this scenario? > > noorul@laptop:/tmp/wc/testrepo$ touch iota > noorul@laptop:/tmp/wc/testrepo$ > ~/projects/subversion/src/trunk/vpath/subversion/svn/svn add iota > A iota > noorul@laptop:/tmp/wc/testrepo$ mkdir /tmp/iota > noorul@laptop:/tmp/wc/testrepo$ > ~/projects/subversion/src/trunk/vpath/subversion/svn/svn export iota /tmp/iota > A /tmp/iota/iota > Export complete. > noorul@laptop:/tmp/wc/testrepo$
Yes, this scenario and other scenarios similar to this where /tmp/iota could instead be a directory with children (and maybe one of the children is called 'iota'), or could be a symlink or a special file. - Julian