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

Re: File <filenamewith$> already exists

From: Jeff Smith <jsmith_at_robotronics.com>
Date: 2007-03-29 22:45:30 CEST

On Friday 16 March 2007 09:45, Bruce Frederiksen wrote:
> $ svn co <somedir>
> $ cd <somedir>
> $ touch 'abc$def.txt'
> $ svn add 'abc$def.txt'
> A abc$def.txt
> $ svn commit -m 'msg'
> Adding abc$def.txt
> svn: Commit failed (details follow):
> svn: File '/svn/repos/etrms/trunk/tools/abc$def.txt' already exists

I'm using 1.4.2 also, and I might see your trouble. First, note that
in Linux I have to quote the '$' to avoid interpereting as
environment var:

 cd branches
 touch abc\$def.txt
 svn add abc\$def.txt
A abc$def.txt
 svn ci -m"filename with '$'"
Adding branches/abc$def.txt
Transmitting file data .
Committed revision 59.

# then I tried 'list' to verify, but does not
# show until I update the WC:

 svn list
wireless/
wireless-1/
wireless-2/

 svn update
At revision 59.
 svn list
abc$def.txt
wireless/
wireless-1/
wireless-2/

So maybe it does already exist in your repository.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 29 22:46:52 2007

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.