Re: RA existence check?
From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-11-21 23:59:13 CET
"Bill Tutt" <rassilon@lyra.org> writes:
> You want to be careful when you use this kind of check, esp. from a
But in Mike's case, I'm not sure there's anything we can do.
I mean, suppose the user types:
% svn cp A/mu http://foo/bar/baz
We've decided that this command causes an immediate commit of local
But how do we drive the editor?
- If baz is a directory, then we want to
open_dir(bar)
- If baz does not exist, then we want to
open_dir(bar)
- If baz is already a file, then we either want to overwrite it, or
open_dir(bar)
So really, I don't know how we can avoid doing an extra network 'stat'
---------------------------------------------------------------------
|
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.