[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: Marc Haisenko <haisenko_at_webport.de>
Date: 2005-04-28 10:09:16 CEST

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.


Marc Haisenko
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:21:42 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.