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

Re: Switching a replaced file corrupt the WC

From: Kazutoshi Satoda <k_satoda_at_f2.dion.ne.jp>
Date: 2006-12-18 00:14:33 CET

Martin Scharrer wrote:
> On Saturday 16 December 2006 14:08, Kazutoshi Satoda wrote:
(snip)
>> The error message does not help because the file actually exists in
>> the repository.
> Yes the file exists but in the trunk, _not_ in the switched branch.
> What you did is the following:
(snip)
> 4) Switched your working copy to a empty 'branch/' of the repository

The branch is not empty. It is created (at r3) after 'trunk/file' is
added (at r2). Then 'branch/file' does exists.

> To solve this you should commit your changes either before or after the
> switching.

Oh, I didn't do committing. Now I found that 'svn commit wc' works
normally. It does commit the replaced action. But the actual request at
the time I found this problem was switching back to trunk without
committing the changes. (Sorry about not saying this first.)

Then "all remote operations" in the first report is wrong. The
operations which become to fail are "update and switch".

Thank you for looking into this.

-- 
k_satoda
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 18 00:15:04 2006

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