On Thu, 2011-02-17 at 21:04 +0530, Noorul Islam K M wrote:
> Julian Foad <julian.foad_at_wandisco.com> writes:
>
> > Noorul Islam K M wrote:
> >
> >> Julian Foad <julian.foad_at_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_at_laptop:/tmp/wc/testrepo$ touch iota
> noorul_at_laptop:/tmp/wc/testrepo$ ~/projects/subversion/src/trunk/vpath/subversion/svn/svn add iota
> A iota
> noorul_at_laptop:/tmp/wc/testrepo$ mkdir /tmp/iota
> noorul_at_laptop:/tmp/wc/testrepo$ ~/projects/subversion/src/trunk/vpath/subversion/svn/svn export iota /tmp/iota
> A /tmp/iota/iota
> Export complete.
> noorul_at_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
Received on 2011-02-17 16:43:53 CET