You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Niemann, Hartmut" <ha...@siemens.com> on 2019/02/14 12:55:02 UTC

E155011 + E160013: how to clear this mess?

Hello!

After some copying of trees, and renaming I seem to have brought my WC into a messy state.

when I try to commit changes of a folder, I get

Deleting       #REQ#B4#1#.xlsx
svn: E155011: Commit failed (details follow):
svn: E155011: File 'D:\localpath...\#REQ#B4#1#.xlsx' is out of date
svn: E160013: '/repos/locoproc/!svn/txr/15246-c5h/remotepath.../%23REQ%23B4%231%23.xlsx' path not found

If I look into the 'repo browser', the file that is marked as "delete" isn't there.
So SVN wants to commit a delete for a file that is not committed.

cleanup doesn't help.
revert doesn't help.

How do I tell svn to forget about it?

This is Tortoise SVN, the excerpt above is from the command line tool, but the GUI has a similar message, recommends an update, but there is nothing to update.

svn, version 1.11.1 (r1850623)
   compiled Jan  9 2019, 19:28:50 on x86-microsoft-windows


Mit freundlichen Grüßen
Dr. Hartmut Niemann

Siemens Mobility GmbH
MO RS LM EN CCI1 SRD
Werner-von-Siemens-Str. 67
91052 Erlangen, Deutschland
Tel.: +49 9131 17-50518
Mobil: +49 173 5342327
mailto:hartmut.niemann@siemens.com
www.siemens.com/ingenuityforlife<https://siemens.com/ingenuityforlife>
[www.siemens.com/ingenuityforlife]
Siemens Mobility GmbH: Vorsitzender des Aufsichtsrats: Anton Steiger; Geschäftsführer: Karl Blaim, Michael Peter, Sabrina Soussan; Sitz der Gesellschaft: München, Deutschland; Amtsgericht München, HRB 237219; WEEE-Reg.-Nr. DE 92917817

AW: E155011 + E160013: how to clear this mess?

Posted by "Niemann, Hartmut" <ha...@siemens.com>.
Hello Stefan,

> On Thu, Feb 14, 2019 at 12:55:02PM +0000, Niemann, Hartmut wrote:
> > Hello!
> > 
> > After some copying of trees, and renaming I seem to have brought my WC into a messy state.
> > 
> > when I try to commit changes of a folder, I get
> > 
> > Deleting       #REQ#B4#1#.xlsx
> > svn: E155011: Commit failed (details follow):
> > svn: E155011: File 'D:\localpath...\#REQ#B4#1#.xlsx' is out of date
> > svn: E160013: 
> > '/repos/locoproc/!svn/txr/15246-c5h/remotepath.../%23REQ%23B4%231%23.x
> > lsx' path not found
> > 
> > If I look into the 'repo browser', the file that is marked as "delete" isn't there.
> > So SVN wants to commit a delete for a file that is not committed.
[..]
> > revert doesn't help.
>
> But reverting the local deletion should indeed be possible and prevent 'svn commit' from trying to delete this path.
>
> So why does revert not help? How did you attempt to revert the deleted path? What output did you see when you tried to revert the path? 

you gave me the right hint, thanks a lot.

I reverted, and had the file recreated.

But, which is odd: the file had never been committed. TortoiseSVN's repo browser did not show it.
(it did only show one other file that was supposed to be there).
So I had a file marked as "in sync with the repo" that wasn't in the repository.
(IIRC I had tried that before: revert, see it, try to delete it, get the message from above).

This time I ran "update to revision -- empty" on that directory, removing all files,
and then back to "update to revision -- all elements fully recursive" and the file that belongs there was restored 
and the one that I had wanted to delete is gone finally.

So an svn update with --set-depth empty seems to clean up the working copy database in this case.

I am happy again :-)

Mit freundlichen Grüßen
Dr. Hartmut Niemann

Siemens Mobility GmbH
MO RS LM EN CCI1 SRD
Werner-von-Siemens-Str. 67
91052 Erlangen, Deutschland
Tel.: +49 9131 17-50518
Mobil: +49 173 5342327
mailto:hartmut.niemann@siemens.com

www.siemens.com/ingenuityforlife


Regards,
Stefan

Re: E155011 + E160013: how to clear this mess?

Posted by Stefan Sperling <st...@elego.de>.
On Thu, Feb 14, 2019 at 12:55:02PM +0000, Niemann, Hartmut wrote:
> Hello!
> 
> After some copying of trees, and renaming I seem to have brought my WC into a messy state.
> 
> when I try to commit changes of a folder, I get
> 
> Deleting       #REQ#B4#1#.xlsx
> svn: E155011: Commit failed (details follow):
> svn: E155011: File 'D:\localpath...\#REQ#B4#1#.xlsx' is out of date
> svn: E160013: '/repos/locoproc/!svn/txr/15246-c5h/remotepath.../%23REQ%23B4%231%23.xlsx' path not found
> 
> If I look into the 'repo browser', the file that is marked as "delete" isn't there.
> So SVN wants to commit a delete for a file that is not committed.
> 
> cleanup doesn't help.

Cleanup is not supposed to help with this type of problem.

> revert doesn't help.

But reverting the local deletion should indeed be possible and prevent
'svn commit' from trying to delete this path.

So why does revert not help? How did you attempt to revert the deleted
path? What output did you see when you tried to revert the path? 

Regards,
Stefan