You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by dk...@micron.com on 2005/03/14 17:05:29 UTC

Svn Commit Errors

My company is new to using Subversion. We are hosting Subversion on a
Windows server running Apache. We are getting errors on the initial
commit of a file, like the following:

$ svn commit Logging.tcl -m "Initial Revision"
Adding         Logging.tcl
Transmitting file data .svn: Commit failed (details follow):
svn: At least one property change failed; repository is unchanged $ ll
total 216

This seems to occur randomly for some files, but works for 90% of the
others. On a few cases, we have reverted and re-added the file to get a
successful commit.

Any ideas on how to fix this?

-Dan Robbins

Re: Svn Commit Errors

Posted by Aniruddha Apte <an...@gmail.com>.
We are doing something like thi:. 

Say we want to import a PROJ whose root is /project1 which has
sub-dirs sub1/ sub2/ sub3/ sub4/ and sub5/ all of which have many
files and dirs inside them. The import path is /svn/repos/PROJ/trunk/.

Then if if try to import /project1, at some point in the import
process I get the error. So what we do is the first import just
/project1 with top-level dirs. The tree now looks like this:
/svn/repos/PROJ/trunk/project1/sub1/
                                             /sub2/
                                             /sub3/
                                             /sub4/
                                             /sub5/

Next we import sub1/ sub2/ and so on, one by one.


On Tue, 15 Mar 2005 10:49:19 +0000, Martin Tomes <li...@tomes.org> wrote:
> Aniruddha Apte wrote:
> > Martin,
> >
> > If I am doing a fresh import there's nothing to do an update on!
> 
> Are you importing into an empty part of the subversion file tree or are
> there files/folders already imported there?  I.e., are you adding to a
> file tree which already exists?
> 
>

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

Re: Svn Commit Errors

Posted by Martin Tomes <li...@tomes.org>.
Aniruddha Apte wrote:
> Martin,
> 
> If I am doing a fresh import there's nothing to do an update on!

Are you importing into an empty part of the subversion file tree or are 
there files/folders already imported there?  I.e., are you adding to a 
file tree which already exists?

-- 
Martin Tomes
echo 'martin at tomes x org x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'

The Subversion Wiki is at http://www.subversionary.org/

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

Re: Svn Commit Errors

Posted by Aniruddha Apte <an...@gmail.com>.
Martin,

If I am doing a fresh import there's nothing to do an update on!

We've been getting this error often while importing. This happens when
the source tree has a large number of sub-dirs and files. So a
workaround is to import the sub-dirs one by one (but that's painful).
However the import does work sometimes (if the importer is lucky).
Say, 1 in 20 tries :).

Any ideas?

regards,
-anir
>
> Do an update prior to the commit.  See
> http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-2-sect-3.4
> 
> --
> Martin Tomes
> echo 'martin at tomes x org x uk'\
>   | sed -e 's/ x /\./g' -e 's/ at /@/'
>

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

Re: Svn Commit Errors

Posted by Martin Tomes <li...@tomes.org>.
dkrobbins@micron.com wrote:
> My company is new to using Subversion. We are hosting Subversion on a 
> Windows server running Apache. We are getting errors on the initial 
> commit of a file, like the following:
> 
> $ svn commit Logging.tcl -m "Initial Revision"
> Adding         Logging.tcl
> Transmitting file data .svn: Commit failed (details follow):
> svn: At least one property change failed; repository is unchanged $ ll 
> total 216
> 
> This seems to occur randomly for some files, but works for 90% of the 
> others. On a few cases, we have reverted and re-added the file to get a 
> successful commit.
> 
> Any ideas on how to fix this?

Do an update prior to the commit.  See 
http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-2-sect-3.4

-- 
Martin Tomes
echo 'martin at tomes x org x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'

The Subversion Wiki is at http://www.subversionary.org/

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