You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kiko Man <ma...@gmail.com> on 2010/01/19 00:24:06 UTC

No such revision 0

So I migrated my svn repository about a month ago and I thought everything
was ok... until I recently tried to commit an update started getting errors
with the message No such revision 0
I ran svnadmin recover but still get: svnadmin: No such revision 0
If I hit my repos url with a browser I can manually view files, and I can
extract old revisions for comparisons, etc.  So far the only thing I can't
do is commit.
Any suggestions would be greatly appreciated, I've searched a good deal and
am not sure how to approach this.

Thanks
Dave

Re: No such revision 0

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 20, 2010, at 21:27, Kiko Man wrote:

> On Tue, Jan 19, 2010 at 11:37 PM, Ryan Schmidt wrote:
> 
>> And also in /var/svn/repos/db/revprops?
> 
> Yes, it's there as well:
> jj db # ls -alt /var/svn/repos/db/revprops/0
> -rw-rw---- 1 backuppc apache    50 2009-10-30 19:35 0
> 
> Good to know about FSFS

Ok, then I'm not sure what's up. i'm sending this reply back to the mailing list so others can have a go at helping you.

Re: No such revision 0

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 19, 2010, at 19:16, Kiko Man wrote:

> On Tue, Jan 19, 2010 at 3:28 PM, Ryan Schmidt <su...@ryandesign.com> wrote:
> Assuming this is an FSFS repository, is there in fact a file called "0" in the db/revs and db/revprops (or, if sharded, db/revs/0 and db/revprops/0) directories? The error message seems to indicate there is not.
> 
> Looks like the files is there.  
> 
> jj revs # pwd
> /var/svn/repos/db/revs
> jj revs # ls -alt 0
> -rw-rw---- 1 backuppc apache   115 2009-10-30 19:35 0

And also in /var/svn/repos/db/revprops?


> Not sure how to determine if it's an FSFS repository?

AFAICT the presence of the db/revs directory is sufficient to know that this is an FSFS repository.


Re: No such revision 0

Posted by Kiko Man <ma...@gmail.com>.
On Tue, Jan 19, 2010 at 3:28 PM, Ryan Schmidt <
subversion-2010a@ryandesign.com> wrote:

> Assuming this is an FSFS repository, is there in fact a file called "0" in
> the db/revs and db/revprops (or, if sharded, db/revs/0 and db/revprops/0)
> directories? The error message seems to indicate there is not.
>
> Looks like the files is there.

jj revs # pwd
/var/svn/repos/db/revs
jj revs # ls -alt 0
-rw-rw---- 1 backuppc apache   115 2009-10-30 19:35 0

Not sure how to determine if it's an FSFS repository?

Thanks
Dave

Re: No such revision 0

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 18, 2010, at 18:24, Kiko Man wrote:

> So I migrated my svn repository about a month ago and I thought everything was ok... until I recently tried to commit an update started getting errors with the message No such revision 0
> I ran svnadmin recover but still get: svnadmin: No such revision 0
> If I hit my repos url with a browser I can manually view files, and I can extract old revisions for comparisons, etc.  So far the only thing I can't do is commit.  
> Any suggestions would be greatly appreciated, I've searched a good deal and am not sure how to approach this.

Assuming this is an FSFS repository, is there in fact a file called "0" in the db/revs and db/revprops (or, if sharded, db/revs/0 and db/revprops/0) directories? The error message seems to indicate there is not.