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

"Commit item has copy flag but no copyfrom URL"

From: Phil Endecott <spam_from_subversion_users_at_chezphil.org>
Date: 2006-06-20 01:47:10 CEST

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
Received on Mon Jun 19 23:48:34 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.