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

Re: Corrupt repository, or just incorrect usage.

From: jlm <jsado_sc3_at_earthlink.net>
Date: 2004-03-20 14:22:13 CET

Ok, that might explain the svn commit failure shown below, however I
still feel that the repository is not quite right.

Only yesterday did I move all of these files into /main. I have been
running svn for a while, and had gotten up to version 17 or 18. Now, if
I checkout a working copy of the repository at version 2, I should not
see /main, correct? So, for example:

~/code/gtkbonus_temp 26> svn checkout -r 2 \
file:///usr/subversion/gtkbonus .

A main
A main/test
A main/test/angles3d_test.cpp
A main/test/scrollbar_test.cpp
A main/test/trough_test.cpp
A main/test/gradient_test_old.cpp
A main/test/gradient_dialog_test.cpp
A main/test/gradient_test.cpp
A main/test/color_dialog_test.cpp
A main/test/palette_test.cpp
.
.
.

ls
main/

I know that I didn't have any directory called main in version 2,
however there it is.

Just to check I did svn update -r 2 and I still see main, with all
(supposedly) of my files therein. I expect to see all of my files right
there, at the root of the repository, because I didn't add the main
directory until revision 19.

Thanks again.

On Sat, 2004-03-20 at 08:03, Erik Huelsmann wrote:
> Hi!
>
> Well, I think you may not be in a state as serious as you think. From what
> you describe, I think you suffer from what is described in the Subversion Book
> section "Limitations of mixed revisions"
> (http://svnbook.red-bean.com/book/book.html#svn-ch-2-sect-3.4): you cannot commit directory structure changes to
> directories which are not the HEAD revision.
>
> HTH,
>
> Erik.
>
> > I think I may have corrupted my repository, and would like to get it
> > fixed. Here is the situation.
> >
> > I wanted to make a branch. My project files were all in the root of the
> > repository, so I made a directory called main (svn mkdir), and then did
> > a svn mv on all of the files into the directory.
> >
> > I then noticed that my directories were still outside of the main
> > directory. I looked in them and saw that they were empty. So I did an
> > svn rm on one of the directories (src). It didn't seem to remove it so I
> > ignored it.
> >
> > Then I did an svn commit and it seemed to do the commit but I got this
> > error at the end:
> >
> > svn: Commit failed (details follow):
> > svn: Out of date: '/main/src' in transaction 'j'
> > svn: Your commit message was left in a temporary file:
> > svn: '/home/jlm/code/gtkbonus/svn-commit.tmp'

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 20 14:23:03 2004

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.