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

Re: beginner question

From: <kfogel_at_newton.ch.collab.net>
Date: 2003-01-27 06:32:57 CET

Faheem Mitha faheem@email.unc.edu writes:
 faheem /tmp/repossvn commit
 Deleting newthesis
 
 Committed revision 4.
 
 and then
 
 faheem /tmpsvn import http://localhost:8080/svn/repos foo.c foo.c
 Adding foo.c
 Transmitting file data .
 Committed revision 5.
 
 and now I get
 
 faheem /tmpsvn co http://localhost:8080/svn/repos
 svn: Obstructed update
 svn: revision 5 doesn't match existing revision 4 in 'repos'

>From looking at the name of your working copy, you seem maybe confused
about a working copy vs a repository? (Or is that a misimpression?)
The directory you call /tmp/repos is not, in fact, a repository, but
rather a working copy. Even if you know that in your head, it's
better when posting examples to the list to use some other name, so
*we* don't get confused, nor mistakenly think you are confused.

Anyway, don't try to check out ('co') over your existing working
copy. You need to use 'svn update' instead. Checkout is for creating
new working copies; update is for bringing existing working copies
up-to-date with respect to the working copy.

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:19:05 2006

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

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