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

Re: '?' status code on directory in repo.

From: Anthony Metcalf <anthony.metcalf_at_anferny.ath.cx>
Date: 2005-02-24 10:45:27 CET

On Wed, 23 Feb 2005 12:24:53 -0500
"Dale Worley" <dworley@pingtel.com> wrote:

> Subversion notices when you do "svn copy" because you did "svn copy".
> When a file just appears in the directory, Subversion is careful to
> not write over it, but it has no reason to believe that you want it
> under version control until you tell it you do.

That I understand that, in the case where the file has never been under
version control, this is the case where the file has been under version
control previously.

When a file that has been deleted, reappears (not just J Random File
appearing), I wouold expect either:

1) It is noticed by svn that this file previously existed in the repo,
and is put under version control, with the history continued.

2) The above happens but only with an svn add <file>

3) When svn add <file> is run the message "This file was previously
under version control, would you like to continue version control or
re-name file?[Cn]"

As it is, when the file was re-created, svn add borked with "file
already under version control" so I had to resort to:

move file
svn copy file from old revision
move file back

I know this doesn't happen often, and I'm not going to whinge over much,
I just wanted to make clear that I think this behavior could be improved
a little.

  • application/pgp-signature attachment: stored
Received on Thu Feb 24 10:49:36 2005

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.