You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Florian Weimer <fw...@bfk.de> on 2011/02/04 17:47:03 UTC

Inconsistent working copy state after "svn switch"

Switching a working copy to a branch where a locally modified file
does not exist, and switch back to the original branch (without
further changes) leaves the working copy in an inconsistent state.  It
is surprisingly difficult to recover from that situation.  It seems
that you have to delete the parent of the parent directory of the
affected file.

Is this a known issue?

-- 
Florian Weimer                <fw...@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99

Re: Inconsistent working copy state after "svn switch"

Posted by Stefan Sperling <st...@elego.de>.
On Fri, Feb 04, 2011 at 04:47:43PM +0000, Florian Weimer wrote:
> * Florian Weimer:
> 
> > Switching a working copy to a branch where a locally modified file
> > does not exist, and switch back to the original branch (without
> > further changes) leaves the working copy in an inconsistent state.  It
> > is surprisingly difficult to recover from that situation.  It seems
> > that you have to delete the parent of the parent directory of the
> > affected file.
> >
> > Is this a known issue?
> 
> *grr* I should have said that I saw this with 1.6.12 on GNU/Linux.

Your report is still lacking sufficient detail to allow others to
figure out what problem you're really seeing.
Describing problems like this in prose alone rarely conveys enough
information. Below is a template response asking for more information.

Thanks,
Stefan

You need to tell us: 1) _exactly_ what you typed; 2) _exactly_ what you
saw; 3) _exactly_ how what you saw differed from what you expected to
see. Do 1) and 2) by reproducing the problem while keeping a
transcript, and posting this transcript. Unix users: the "script" program is
probably the easiest way to make a transcript. This is a lot of work,
but it will save time.

Re: Inconsistent working copy state after "svn switch"

Posted by Florian Weimer <fw...@bfk.de>.
* Florian Weimer:

> Switching a working copy to a branch where a locally modified file
> does not exist, and switch back to the original branch (without
> further changes) leaves the working copy in an inconsistent state.  It
> is surprisingly difficult to recover from that situation.  It seems
> that you have to delete the parent of the parent directory of the
> affected file.
>
> Is this a known issue?

*grr* I should have said that I saw this with 1.6.12 on GNU/Linux.

-- 
Florian Weimer                <fw...@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99