[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Fix for issue 3799 - exporting file should not overwrite

From: Noorul Islam K M <noorul_at_collab.net>
Date: Thu, 17 Feb 2011 21:04:54 +0530

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$

Thanks and Regards
Noorul
Received on 2011-02-17 16:35:50 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.