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

Re: copy-planz.txt

From: <cmpilato_at_collab.net>
Date: 2001-11-16 16:03:04 CET

Greg Hudson <ghudson@mit.edu> writes:

> On 15 Nov 2001 cmpilato@collab.net wrote:
> > if (exist dst_path)
> > {
> > if (dst_path is directory)
> > copy src_path into dst_path as basename (src_path)
>
> What if dst_path/{basename src_path} already exists?

Hmm, yes.

Replace or bomb out. We don't have an easy way to query "Are you
sure?", so maybe bombing out would be best.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:48 2006

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