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

Re: stupid question (after couple of months with subversion)

From: Miroslav Zubcic <mvz_at_crol.net>
Date: 2002-02-27 20:21:33 CET

Kevin Pilch-Bisson <kevin@pilch-bisson.net> writes:

> > Let's say that i have working copy, and I change/add/delete couple of
> > files, commit and `svn st' will show me status of working copy.

> After a commit, svn st should not show anything except '?' files, i.e. ones
> that it knows nothing about.

...

> > Currently I have to revert modified files, delete new added files, and
> > that run `svn up' to get all this again from server and to have clean
> > situation.

> I don't know what may be going on in your case. Can you send a log of some
> commands and there output that shows this behaviour.

OK here is a little example:

(mvz){crolvax}[proba-01]$ svn st
(mvz){crolvax}[proba-01]$ vi foo.c # editing existing file ...
(mvz){crolvax}[proba-01]$ echo "blablabla" > file001
(mvz){crolvax}[proba-01]$ svn st
? ./file001
M ./foo.c
(mvz){crolvax}[proba-01]$ svn add file001
(mvz){crolvax}[proba-01]$ svn ci
Adding /home/mvz/proba-01/file001
Sending /home/mvz/proba-01/foo.c
Committed revision 29.
(mvz){crolvax}[proba-01]$ svn st
A ./file001
M ./foo.c
(mvz){crolvax}[proba-01]$ svn revert file001 mangle.c
Reverted file001
Reverted mangle.c
(mvz){crolvax}[proba-01]$ svn up
U ./foo.c

svn_error: #21029 : <Obstructed update>
  Can't add 'file001':
 object of same name already exists in '.'

(mvz){crolvax}[proba-01]$ rm -f file001
(mvz){crolvax}[proba-01]$ svn up
A ./file001
(mvz){crolvax}[proba-01]$ svn st
(mvz){crolvax}[proba-01]$ svn --version
Subversion Client, version 0.9.0 (rc2)
   compiled Feb 16 2002, 12:19:07

Copyright (C) 2000-2002 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' schema
  - handles 'https' schema

-- 
This signature intentionally left blank
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:10 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.