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

unable to commit to repository: "File already exists"/"a previous representation is currently being written"

From: Anne Archibald <peridot.faceted_at_gmail.com>
Date: Wed, 12 Nov 2008 17:59:21 -0500

Hi,

I have a repository I have been using for a while, but I am no longer
able to commit changes to it. The message I get is:

svn: File already exists: filesystem
'/homes/janeway/aarchiba/svnrepo/db', transaction '278-1', path
'phys-645'
svn: Your commit message was left in a temporary file:
svn: '/homes/janeway/aarchiba/projects/svn-commit.8.tmp'

The repository is an FSFS repository, accessed through svn+ssh, stored
on an NFS filesystem. The working copy is on the same machine, stored
on the same NFS filesystem (in, obviously, a different directory). I
am the only user, and I own all files. I get a different version of
the problem if I check out a fresh copy of even a small part of the
repository in /tmp, make a trivial modification of one file, and try
to svn commit:

Transmitting file data .svn: Commit failed (details follow):
svn: Cannot write to the prototype revision file of transaction
'278-1' because a previous representation is currently being written
by another process
svn: Your commit message was left in a temporary file:
svn: '/tmp/aaa/pta/svn-commit.tmp'

I am using svn version 1.4.2 on a 64-bit Linux system (which is where
the repository exists). I get the same error with svn version 1.5.1 on
an x86-32 Ubuntu Linux system (accessing the same repository).

svnadmin verify reports no problems. svnadmin lstxns reported one
transaction, but I used svnadmin rmtxns to remove it and it did not
improve the situation any.

So I have three questions:

* How can I get my repository working?

* How can I prevent this from happening again?

* Is this a bug in svn?

Thanks,
Anne M. Archibald

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-12 23:59:42 CET

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.