You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Monks, Peter" <pe...@vignette.com> on 2004/12/21 17:44:31 UTC

Repository files appearing in repository?

G'day everyone,
 
I've now seen some strange behaviour twice (in two different SVN
repositories), and was wondering whether anyone else had seen it or
whether it was just me?

What happens is that at seemingly random times we seem to be ending up
with the raw repository files *in* our repository somewhere (ie. down
in one of the directories in our repository).

So for example, this morning I did an update of one of my working
copies and in a directory something like "com/acme/widgets/whatsit"
appeared the following files and folders:
* README.txt
* format
* conf
* dav
* db (with subdirectories)
* hooks
* locks

"svn delete"ing these files and folders and committing the delete
seems to fix the problem, but I have to admit that it's pretty
unnerving!

Initially I thought that perhaps this was user error (ie. someone
accidentally checking in the SVN repository files), but on reflection
I realised that this is highly unlikely, since our developers don't
have access to the servers where the SVN repository files are stored.

Another interesting tidbit is that the two repositories I've seen this
occur on were quite different.  The first is a BDB based repository
hosted on SVN 1.0.5 running on a Solaris machine (binaries were
obtained from sunfreeware.com), while the second is an FSFS based
repository hosted in SVN 1.1.1 running on a Windows 2000 machine
(binaries were obtained from subversion.tigris.org).

Cheers,
Peter
 
----------------------------------------------------------------------
Peter Monks                             http://www.sydneyclimbing.com/
pmonks@sydneyclimbing.com      http://www.geocities.com/yosemite/4455/
---------------------------------------------------------------------- 


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


Re: Repository files appearing in repository?

Posted by Joerg Hessdoerfer <Jo...@sea-gmbh.com>.
Hi,

On Tuesday 21 December 2004 18:44, Monks, Peter wrote:
> G'day everyone,
>
> I've now seen some strange behaviour twice (in two different SVN
> repositories), and was wondering whether anyone else had seen it or
> whether it was just me?
>
> What happens is that at seemingly random times we seem to be ending up
> with the raw repository files *in* our repository somewhere (ie. down
> in one of the directories in our repository).
>
> So for example, this morning I did an update of one of my working
> copies and in a directory something like "com/acme/widgets/whatsit"
> appeared the following files and folders:
> * README.txt
> * format
> * conf
> * dav
> * db (with subdirectories)
> * hooks
> * locks
>
> "svn delete"ing these files and folders and committing the delete
> seems to fix the problem, but I have to admit that it's pretty
> unnerving!
>
> Initially I thought that perhaps this was user error (ie. someone
> accidentally checking in the SVN repository files), but on reflection
> I realised that this is highly unlikely, since our developers don't
> have access to the servers where the SVN repository files are stored.
>
> Another interesting tidbit is that the two repositories I've seen this
> occur on were quite different.  The first is a BDB based repository
> hosted on SVN 1.0.5 running on a Solaris machine (binaries were
> obtained from sunfreeware.com), while the second is an FSFS based
> repository hosted in SVN 1.1.1 running on a Windows 2000 machine
> (binaries were obtained from subversion.tigris.org).
>
> Cheers,
> Peter
>
> ----------------------------------------------------------------------
> Peter Monks                             http://www.sydneyclimbing.com/
> pmonks@sydneyclimbing.com      http://www.geocities.com/yosemite/4455/
> ----------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

Just a quick thought... did you try to co those files and actually USE THEM as 
a repo? Maybe that would give you a hint on what a user tried to achieve...
Or, 'svn log' them and see what turns up. Most of the times I saw those kind 
of things it's a user screwing up...

Anecdote: today we had one guy setting an svn:externals ref and then 'svn 
delete'ing the wc folder, cause he didn't want it any more in his WC... time 
for another merge ;-)

Greetings,
 Joerg
-- 
Leading SW developer  - S.E.A GmbH
Mail: joerg.hessdoerfer@sea-gmbh.com
WWW:  http://www.sea-gmbh.com

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

Re: Repository files appearing in repository?

Posted by Ben Collins-Sussman <su...@collab.net>.
On Dec 21, 2004, at 11:44 AM, Monks, Peter wrote:
>
> Initially I thought that perhaps this was user error (ie. someone
> accidentally checking in the SVN repository files), but on reflection
> I realised that this is highly unlikely, since our developers don't
> have access to the servers where the SVN repository files are stored.

Never heard of a problem like this before... you're the first.

But frankly, I don't see how it *couldn't* be a user error, exactly as 
you describe.  Any user can run 'svnadmin create blah' inside a working 
copy and then mistakenly 'svn add' and 'svn commit' the blah/ 
directory.  (Or just 'svn import' it.)

Another likely culprit is that a misbehaving shell script or cron job 
is doing the same thing.

Also, you have history:  why don't you find out who added the 
mysterious files, and when?  Run 'svn log -v' on the root URL of your 
repository.  There's no need to wonder where they came from.


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