On 2-Feb-06, at 1:56 PM, Paul Dumais wrote:
> Thanks,
>
> I have tried svn up (many times). I am getting a different error
> message (sorry if I did not catch this last time). You see I have a
> file that used to be revision controlled and now I need it to be
> revision controlled again.
> This is what I do:
> svn up; works ok, does not restore the file in quesion because it is
> not (any longer) revision controlled
> svn status; shows the file that I will be adding with the '?' which
> means that it is not revision controlled.
> svn add 'file_in_quesion'; this works ok so far
> snv commit; problems!
> Adding 'file_in_question'
> Transmitting file data .svn: Commit failed (details follow):
> svn: File already exists: filesystem '/home/pauld/svn/db', transaction
> '23', path '/trunk/file_in_question'
> svn: Your commit message was left in a temporary file:
> svn: '/home/pauld/work/svn-commit.tmp'
>
> I hope this is more clear. I think perhaps I have confused people by
> not noticing the change in error message (sorry).
>
> Anyway, does anyone have any ideas? I'm googling the answer, but not
> much seems to be coming up.
>
My guess is that somehow you managed to delete the file from the
repo, but it was never properly deleted from the working copy, so the
WC metadata in the .svn folder for the file in question is messed up.
Have you confirmed that the file is not in HEAD with 'svn ls <URL>' ?
What if you make a new WC, copy the file from your old WC to it and
add it from there?
svn up would not restore the file in question even if it wanted to,
if you already have a file there with the same name.
What were the exact steps to remove the file from the repo? Was it
done directly to the repo, or in your WC, or a different WC?
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 3 00:30:39 2006