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

Inconsistent svn cp error messages and behaviour, recovering to earlier revision doesn't work

From: Harri Järvi <harri.jarvi_at_tut.fi>
Date: 2006-09-05 13:51:20 CEST

Hello,

I'm using svn version 1.2.3 (r15833).

Reverting to an earlier revision of a file doesn't work. And there are
inconsistent error messages when trying to do so.

The following is an excerpt of what goes on:

1$ svn rm file.txt
D file.txt

2$ svn cp -r 349 svn+ssh://host/repository/trunk/file.txt file.txt
svn: Entry for 'build.xml' exists (though the working file is missing)

3$ svn cp file2.txt file.txt
svn: 'build.xml' is scheduled for deletion; it must be committed before
being overwritten

4$ svn add file.txt
svn: 'file.txt' not found

5$ touch file.txt

6$ svn add file.txt
A file.txt

The error messages in 2$ and 3$ are different. The error messages are
inconsistent.

Adding a new file in 6$ works and there is no error message, but copying
from an earlier revision or another file (2$ and 3$) leads to error
messages. This is incosistent behaviour.

Why isn't recovering to (copying from) an earlier revision possible
within one revision? Is it a good idea to require a "svn commit" in
between of steps 1$ and 2$. This leads to an unwanted intermediate
revision with the file missing?

Is this a bug?

Yours,
Harri Järvi

Please Cc me.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 6 22:57:25 2006

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