You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Folker Schamel <sc...@spinor.com> on 2004/08/30 08:25:30 UTC

Re: [PATCH] FAQ suggestion

> I've still left out the "update *" example: it was what confused me
> in the first place! Windows users aren't likely to appreciate the
> difference between "update" and "update *", because "*" is different
> there than in Unix: it means "all files", and can include files that
> don't exist at the time the command is typed (but do by the time the
> FindNextFile search gets to them).

This difference is irrelevant for the trick.

The trick works differently:
Deleting the file "file.java" is a change of "file.java",
whereas adding a file "File.java" to "." is a change of ".";
Therefore "update *" deletes "file.java", but does not add "File.java".
And "update" means "update .", which adds "File.java".

Thats the same both on Window and Unix.
It is a pure subversion thing.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] FAQ suggestion

Posted by Duncan Murdoch <mu...@stats.uwo.ca>.
On Mon, 30 Aug 2004 10:25:30 +0200, Folker Schamel
<sc...@spinor.com> wrote :

>> I've still left out the "update *" example: it was what confused me
>> in the first place! Windows users aren't likely to appreciate the
>> difference between "update" and "update *", because "*" is different
>> there than in Unix: it means "all files", and can include files that
>> don't exist at the time the command is typed (but do by the time the
>> FindNextFile search gets to them).
>
>This difference is irrelevant for the trick.
>
>The trick works differently:
>Deleting the file "file.java" is a change of "file.java",
>whereas adding a file "File.java" to "." is a change of ".";
>Therefore "update *" deletes "file.java", but does not add "File.java".
>And "update" means "update .", which adds "File.java".

Yes, but the point is the clarity of the FAQ for users who aren't
familiar with Subversion.  The FAQ is less clear if it uses "*",
because many users won't know what that means.

You shouldn't use "tricks" as answers to FAQs when clear explanations
work just as well.

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org