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

Re: A new way to create directories.

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-11-13 04:05:35 CET

Branko Čibej wrote:

> kfogel@collab.net wrote:
>
>> Julian Foad <julianfoad@btopenworld.com> writes:
>>
>>
>>> Branko Čibej wrote:
>>>
>>>
>>>> $ svn mkdir scratch
>>>> svn: '.' is not a working copy
>>>> $ mkdir scratch
>>>> mkdir: cannot create directory `scratch': File exists
>>>> $ ll
>>>> total 0
>>>> drwx------ 2 brane brane 0 Nov 12 20:42 scratch
>>>> I say, aren't we optimizing system calls just a wee bit too
>>>> optimistically?
>>>> This is 1.1.1 on Windows, by the way.
>>>>
>>>
>>> Presumably CygWin or similar, judging by the prompts and the "ll"
>>> command.
>>>
>>> Same happens for me, though, on SuSE GNU/Linux, Subversion r11867.
>>>
>>
>>
>> Oh, my prompts have looked like sometimes, and 'll' is an alias in
>> Bash for me too. But I think Brane's point is, we shouldn't create
>> the scratch dir at all if we aren't going to succeed in adding it to
>> revision control. While client-side operations are not required to be
>> atomic, it would certainly be nice to be atomic where we could... :-).
>>
>> Brane, want me to file an issue or are you on this? (I'd just fix it,
>> but I've got local mods already undergoing 'make check' right now.)
>>
>>
> I'll file the issue, unless I can fix it tonight.

r11883. I think the old code was trying to be a bit too smart.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 13 04:05:31 2004

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