You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Phil Endecott <sp...@chezphil.org> on 2006/06/19 23:47:10 UTC

"Commit item has copy flag but no copyfrom URL"

Dear All,

I have got in a mess and need help!  Any idea what has gone wrong here, and how I can fix it?

I have two websites, managed with subversion.  I was trying to copy a directory from one to the other:

$ svn cp /www/anyterm.org/forums/ .
A         forums

OK so far.  Mistake coming up:

$ rm forums/config.php 

Ooops, wasn't thinking what I was doing.  But I carried on:

$ svn commit -m"Add forums" forums/
Adding         forums
svn: Commit succeeded, but other errors follow:
svn: Error bumping revisions post-commit (details follow):
svn: In directory '/home/www/decimail.org/forums'
svn: Error processing command 'committed' in '/home/www/decimail.org/forums'
svn: Error replacing text-base of 'config.php'
svn: Can't copy '/home/www/decimail.org/forums/config.php' to '/home/www/decimail.org/forums/.svn/tmp/config.php.tmp.tmp': No such file or directory

OK, maybe I can undo the mistaken "rm":

$ cd forums
$ svn revert config.php
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

I try to follow its advice:

$ svn cleanup
svn: In directory '.'
svn: Error processing command 'committed' in '.'
svn: Error replacing text-base of 'config.php'
svn: Can't copy 'config.php' to '.svn/tmp/config.php.2.tmp.tmp': No such file or directory

Here's another way to undo the delete:

$ cp other/working/copy/config.php config.php

Now it lets me cleanup, and I can remove the file properly:

$ svn cleanup
$ svn rm config.php 
D         config.php

But when I try to commit:

$ svn commit -m"Remove config.php"
svn: Commit failed (details follow):
svn: Commit item '/home/www/decimail.org/forums/admin_reports.php' has copy flag but no copyfrom URL


I'm completely stuck now.  Please help!

This is on Linux, version 1.3.0 on the client and 1.2.3 on the server, using Apache.

Phil.





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org