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

RE: Update with joker ?

From: Anthony Muller <Anthony.Mueller_at_hyperoffice.fr>
Date: 2005-04-28 10:14:18 CEST

Hi Marc,

Thanks for your explanation. So, is there a solution to my problem ?

How can I get all files according a pattern ? For instance all files called *.xml ?

Regards,
Anthony

-----Message d'origine-----
De : Marc Haisenko [mailto:haisenko@webport.de]
Envoyé : jeudi 28 avril 2005 10:09
À : users@subversion.tigris.org
Cc : Anthony Muller
Objet : Re: Update with joker ?

On Thursday 28 April 2005 09:49, Anthony Muller wrote:
> Hello
>
> When I update a file 'toto.txt' which is locally present using this
> command: "svn update t*", everything is ok !
>
> However, when the file is not locally present, the command failed ! :-(

This is because your shell expands the asterisk, not SubVersion. Suppose you
have a directory with three files "tata.txt", "tete.txt" and "toto.txt". If
you type "svn up t*" in your shell, the shell expands the asterisk and makes
the following call to the OS: "svn up tata.txt tete.txt toto.txt".

Now, if your directory doesn't contain any files starting with t, the shell
can't expand the asterisk and thus hands the string "t*" unchanged to the OS.
Obviously, there is no file called "t*" and thus SubVersion fails.

C'ya,
        Marc

-- 
Marc Haisenko
Systemspezialist
Webport IT-Services GmbH
mailto: haisenko@webport.de
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 28 10:25:25 2005

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

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