Re: E200004 error during commit

2024-03-16 Thread Robin
I believe this unfortunately means your repository is corrupt. If you 
have a backup of the repository, the easiest way is probably to 
restore the backup.


If you don't have a backup and have to try to manually restore the 
repository, Daniel Shahaf goes into quite a bit of detail in these 
previous threads on the mailing list:


https://lists.apache.org/thread/8sokdqly67db11g6vs5v547xwz1hrp74
https://lists.apache.org/thread/0y7kpppv3f0ms301m13pw0qybr47wjb4

Maybe these can help you to figure out the correct value of the L2P 
offset?


Unfortunately, I don't have a backup. The current revision is 1203, so 
this means the corruption is way back in r319?


After reading the threads, I don't quite understand how to fix L2P. The 
problem is now sometimes I'm unable to commit.


Robin


On 3/16/2024 8:49 PM, Daniel Sahlberg wrote:

Den tors 14 mars 2024 kl 05:22 skrev Robin :

Hi,

when committing to folder, I get a

Commit failed (details follow):
Invalid L2P offset in r320 footer
Could not convert '�x�ț���C � Y+�
     ��ׁ%�?�l��\wH ��O3D�� b�4 �z ͦcr42 �Z2� �9g�,h$c
     �yM .��"�?z��X: ~j� m�S  �' into a number

svnadmin verify gives


* Verifying metadata at revision 0 ...
* Error verifying repository metadata.
svnadmin: E24: Invalid L2P offset in r319 footer
svnadmin: E24: Could not convert

'L��>q��y���B�|Q�`E⌂♠A�r�Y�X1V}���g6.�☼�ݥ�♂�M�,♫�]I̠◄�8►�ِ���Ya↕4♠�%��e�'��XRf1�◄��OY�D`F�',►VRG�޾�]u'

into a number


SVN 1.14.2

    Robin


E200004 error during commit

2024-03-13 Thread Robin

Hi,

when committing to folder, I get a

Commit failed (details follow):
Invalid L2P offset in r320 footer
Could not convert '�x�ț���C�Y+�
    ��ׁ%�?�l��\wH��O3D��b�4�zͦcr42�Z2��9g�,h$c
    �yM.��"�?z��X:~j�m�S�' into a number

svnadmin verify gives


* Verifying metadata at revision 0 ...
* Error verifying repository metadata.
svnadmin: E24: Invalid L2P offset in r319 footer
svnadmin: E24: Could not convert 
'L��>q��y���B�|Q�`E⌂♠A�r�Y�X1V}���g6.�☼�ݥ�♂�M�,♫�]I̠◄�8►�ِ���Ya↕4♠�%��e�'��XRf1�◄��OY�D`F�',►VRG�޾�]u' 
into a number



SVN 1.14.2

Robin



Re: Peforce GitLFS like features

2023-12-03 Thread Robin


If you really want to keep the binary assets out of the main code 
repository, you can use Subversions Externals definitions (see 
https://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html) where 
you can pull in a file or a folder from some other repository in to 
the working copy tree. Then you could have multiple repositories for 
the binary assets, retiring (and removing) repositories and switching 
the externals definition to point to the new repository.


I have tried external many years ago (10?), I faced tons of issues. I 
can't remember exactly what, it was either commiting/update/revert  that 
needed extra  steps , and could be missed out.  Was using tortoisesvn.



In Subversion 1.15 (not yet released) there will be an option to skip 
the pristine copies, effectively cutting storage requirement in half, 
at the expense of more network traffic. When running in this mode, the 
client will only have one copy of each file with only a tiny bit of 
overhead for configuration.


That's sounds like what I'm looking for, great! When the project size is 
in TBs,  you do want to try save space when binary assets are not 
delta stored.


Thanks Daniel


Robin

On 12/2/2023 7:06 PM, Daniel Sahlberg wrote:

Den lör 2 dec. 2023 kl 05:12 skrev Robin :

Hi, I use SVN for gamedev projects, it works great but our repository
size is growing towards 1TB size. A lot of the files are binary
taking
up bulk of space. For bigger projects in game industry, peforce is
commonly used,  and they have a few features which are quite neat.

1. User can specify certain files that don't need to store full
history.
Server keep only X number of rev history cos the older revisions
are not
needed.  e.g a artist photoshop file, we don't need full history,
usually only the latest or a few revisions.


This is unfortunately not possible. The history in Subversion is 
"immutable", you cannot remove things from the repository. On the 
other hand, large repositories is not a problem (except for the 
required disk space).


If you really want to keep the binary assets out of the main code 
repository, you can use Subversions Externals definitions (see 
https://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html) where 
you can pull in a file or a folder from some other repository in to 
the working copy tree. Then you could have multiple repositories for 
the binary assets, retiring (and removing) repositories and switching 
the externals definition to point to the new repository.


But that means an old version of the code will effectively be 
unbuildable since it points to non-existing binary assets.


I think the cost for some disk space on the server will be a lot lower 
than the cost (in hours) for any extra complexity trying to eliminate 
old versions.



2. Server don't keep a duplicate copy of those files on client,
client
get 1 copy only. This would be similar to git LFS.


Contrary to Git, in Subversion the client will only store the 
"current" version of a file in a working copy (when checking out a 
repository). "Current" here means the version you decide to check out, 
not necessarily the latest.


In Subversion 1.14 and earlier, you will also get an extra copy called 
"pristine version" (hidden in the administrative directory .svn) for 
each version of the file you have had in your working copy. If the 
user wants to switch to another version, a simple local copy is the 
only thing required. The downside is of course the extra storage space 
required, in particular when working with a lot of different revisions 
of each file. The command svn cleanup can remove unused pristine 
copies to save disk space.


In Subversion 1.15 (not yet released) there will be an option to skip 
the pristine copies, effectively cutting storage requirement in half, 
at the expense of more network traffic. When running in this mode, the 
client will only have one copy of each file with only a tiny bit of 
overhead for configuration.



If SVN has these  features natively, it would be greatest tool.
Otherwise, how would it  be possible to make such a setup?


In general, storing large binary files is an area where the design of 
Subversion is superior to Git (where you need addons such as LFS).



Robin


Kind regards,
Daniel

Peforce GitLFS like features

2023-12-01 Thread Robin
Hi, I use SVN for gamedev projects, it works great but our repository 
size is growing towards 1TB size. A lot of the files are binary taking 
up bulk of space. For bigger projects in game industry, peforce is 
commonly used,  and they have a few features which are quite neat.


1. User can specify certain files that don't need to store full history. 
Server keep only X number of rev history cos the older revisions are not 
needed.  e.g a artist photoshop file, we don't need full history, 
usually only the latest or a few revisions.


2. Server don't keep a duplicate copy of those files on client, client 
get 1 copy only. This would be similar to git LFS.


If SVN has these  features natively, it would be greatest tool. 
Otherwise, how would it  be possible to make such a setup?


Robin





Error 10179 / SVN loses authentication during session

2015-09-23 Thread Oudhuis, Robin
Hello,

We use SVN with a small team (3 developers), and we've been experiencing some 
strange issues lately. We use tortoiseSVN to connect to out repository from 
Windows explorer, and some of the time some of our actions get rejected, asking 
us to log in again. As I also received an error, perhaps these two are related. 
(see below for full error copy)

When actually using the provided login dialog, we never actually get access. 
(even checking the remember me checkbox does not solve it.) All three of our 
users have this issue, but not all of the time.

For example, this morning I was allowed to update to the latest versions, and 
perform some searches through the logs (code review). After a couple of files I 
suddenly got the login dialog, after which the error popped up.


Workaround:
Some of the time, I've managed to actually continue my work by resetting my 
password in Assembla (through the website). But that does not work consistently.


Attempts made to solve it on our end:

-Install the latest version of SVN/Tortoise

-Removing the authentication files (so Tortoise could regenerate them)

What can we do to fix this?

Kind regards,

Robin Oudhuis

---
Subversion Exception!
---
Subversion encountered a serious problem.
Please take the time to report this on the Subversion mailing list
with as much information as possible about what
you were trying to do.
But please first search the mailing list archives for the error message
to avoid reporting the same problem repeatedly.
You can find the mailing list archives at
http://subversion.apache.org/mailing-lists.html

Subversion reported the following
(you can copy the content of this dialog
to the clipboard using Ctrl-C):

In file
'D:\Development\SVN\Releases\TortoiseSVN-1.9.0\ext\subversion\subversion\libsvn_wc\wc_db.c'
line 10179: assertion failed (svn_dirent_is_absolute(local_abspath))
---
OK
---


Upgrade 1.5.4 to 1.7.5

2012-08-03 Thread Robin . Gueldenpfennig

Hi Subversion fellows,

we plan to upgrade our Subversion Server from version 1.5.4 to 1.7.5

Subversion runs in a context of  a HTTPD version 2.2.3 with FSFS repository
structure.

It has been build manually by compiling the source code.

Server environment is a SLES system.


My humble questions are the following:

Do I just need to compile the new source and overwrite the existing binary
files?
Are there any new dependencies or upgrades?

It's long ago since I installed Subversion and I'm not an advanced Linux
administrator in case of installing software by hand from source code.

So I thank you in advance for your anwers and hints.


Best regards
Robin Güldenpfennig



corrupt repository Missing field in node-rev

2012-04-14 Thread Robin Luther
I have a subversion repository that had some corruption back 6 months ago. I
knew that all I needed to do was find the corrupted db/revpros/0/XX file and
replace it with a similar revisioned file and so I did not deal with it at
the time.

 

The errors are (when trying to run verify command):

 

error message on: svnadmin verify /myrepository/path -r 416 (and 417):

revision file lacks trailing newline' 

 

then on rev 418,419,420 the error is:

Corrupt node-revision '0-2.0.r416/2259'. Missing field in node-rev

 

This error is one that apparently was fixed 5 years ago, but I am running
subversion version 1.6.6 from June 2011, on Ubuntu.

 

So now I am wanting a non-corrupted svn repository and cannot clean it up. I
have tried to run cleanup, that does not help. I have tried to replace out
up to 5 potentially corrupted /db/revprops/0/xx files but this did not help.
I tried to dump revisions 0-415, then dump revisions 435-489. (this would
leave out the corrupted files that do not verify). I created a blank
repository and loaded 0-415 then tried to load the second dump file.
(thinking I could then try to get a working copy of files from that and
update them as needed). I got error File already exists: filesystem
'.../db', transaction '415-bl', path 'project'.

 

Can you restore multiple dump files to a repository? If so, how?

 

Any suggestions on how to fix this?

 

thank you!

 



Re: Upgrade SVN 1.6 to 1.7 on CentOS 5.5 with cPanel

2011-12-20 Thread Ton Robin Duong
Nico, that will be great.

I've also posted on stack overflow. 

If you use it and want some rep, you can post there, also.
If you don't use it, I can post your answer there and reference you.

Ton

PS: I've read updating RPM can cause some nasty issues because it updates 
everything to bleeding edge.
Can you confirm or deny this?




 From: Nico Kadel-Garcia nka...@gmail.com
To: Ton Robin Duong rhdu...@uh.edu 
Cc: users@subversion.apache.org users@subversion.apache.org 
Sent: Tuesday, December 20, 2011 8:15 AM
Subject: Re: Upgrade SVN 1.6 to 1.7 on CentOS 5.5 with cPanel
 
On Tue, Dec 20, 2011 at 2:38 AM, Ton Robin Duong rhdu...@uh.edu wrote:
 I tried to upgrade by running a make install again with the new 1.7.2 tar.
 This should in theory replace the binaries right?
 I took that to mean:

 download new version (1.7.2)
 configure
 make
 make install

 Before the above process ran: svn --version --quiet prints 1.6.17
 After the above process ran: svn --version --quiet prints 1.6.17 (should
 show 1.7.2)
 What am I doing wrong here?

 PS: SVN was installed initially using modified (skipped the rpmforge stuff)
 process described here:
 http://sven.webiny.com/subversion-on-cpanel-3-with-centos-55-and-easyapache-32/
 SVN is working right now, no problem, I just want to upgrade it.

I've previously published some patches to get the build an RPM tools
to work right for RHEL-5 and RHEL-6. I've updated them for the 1.7.2
release. Shall I repost them?

For reference, I was involved in the last couple of RPMforge updates
of this package. (Contributed updated .spec files.)

Upgrade SVN 1.6 to 1.7 on CentOS 5.5 with cPanel

2011-12-19 Thread Ton Robin Duong
I tried to upgrade by running a make install again with the new 1.7.2 tar.

This should in theory replace the binaries right?
I took that to mean:
* download new version (1.7.2)
* configure
* make
* make install
Before the above process ran: svn --version --quiet prints 1.6.17
After the above process ran: svn --version --quiet prints 1.6.17  (should show 
1.7.2)
What am I doing wrong here?

PS: SVN was installed initially using modified (skipped the rpmforge stuff) 
process described here: 
http://sven.webiny.com/subversion-on-cpanel-3-with-centos-55-and-easyapache-32/
SVN is working right now, no problem, I just want to upgrade it.

Correcting an old branching error

2011-05-03 Thread Robin Cull

Hi, 

I'm quite new to SVN having previously used CVS many years ago.  

I am working on a solo (thankfully) embedded C project which I am using to help 
me learn the ropes.  I do not administer the server I am using, this is done by 
my workplace, but I do have my own repository space for the project.  Several 
weeks ago, I branched my project so I could port it to a new hardware platform 
without messing up the main trunk.  I now want to merge the branch back onto 
the trunk.  It seems that I have made an error in the directory structure so 
now I cannot merge it back.  I will try to explain in detail what I did.  My 
repository looks like this, 

ProjectName
ProjectName
 Module1
ProjectName
 Module2
ProjectName
 branches
ProjectName
 tags

The ModuleX directories contain a large hierarchy of files (source, IDE project 
and other binary files) and folders.  I have eliminated these for brevity.   

I realise now that the repository /should/ really look like this but please 
bear with me:  

ProjectName

ProjectName
 trunk

ProjectName  trunk  Module1

ProjectName  trunk  Module2

ProjectName  branches
ProjectName
 tags

I took a branch of my project and used switch on my working copy so it still 
looked like this:  


ProjectName

ProjectName
 Module1

ProjectName
 Module2

ProjectName
 branches

ProjectName
 tags

I have been working on this branch for several weeks and committing as I go.  
But rather than committing onto a branch I have really been committing into a
 subdirectory of the trunk of the main project which contains a 
duplicate of the project as due to my mistake my repository actually looks like 
this:  


ProjectName

ProjectName
 Module1
ProjectName

 Module2

ProjectName
 branches
ProjectName
 branches  NewPlatform  Module1

ProjectName
 branches  NewPlatform  Module2

ProjectName
 tags

When I try to merge the branch back onto the trunk I end up with two 
disparate versions of my modules, one in the ProjectName  ModuleX directory 
containing whatever it was before the branch, and a second in ProjectName
 branches  NewPlatform  ModuleX, containing what I have been working on over 
 the last few weeks.  What I really wanted were singular ProjectName  ModuleX 
 directories which have the merged changes from what I was working on before 
 and what I have been on most recently.  It is important to note that the 
 NewPlatform branch contains a different set of IDE project files etc. I 
 would like to have the merged trunk to contain the superset of files required 
 for each hardware platform.  

How can I fix the repository structure so my branch is actually a branch and so 
I can merge in what I want to?  

Thanks and best regards.  
  

Files silenty disappear (no corruption) 1.6.15

2011-02-05 Thread Robin
Hi

Reporting a strange incident, one of my subdirectories disappeared from the 
repository entirely. When I do a Show Log, I could not see the folder was even 
added or deleted. 

I had weekly backups so I able to restore and compare them.

- My rev is now 188 (as of today I discovered the problem)

- at rev 98, the log file went blank and the entries of the folder disappeared.

In some backups, the log file was fine and showed the folder files were 
modified. However contents still disappeared.

Only an old backup two months ago I restored,the file contents were fine.

- rev 165, the whole log entry disappeared. In some older backups, the log 
entry was blank and the Date entry become (No date)

svnadmin verify passes without problems on current svn.

I've been using svn for many years, this is a new repository, and first time 
I've seen files disappeared without a corrupted repository reported.
Running windows using fs, svn 1.6.15. Client is tortoisesvn 1.6.12



Re: Files silenty disappear (no corruption) 1.6.15

2011-02-05 Thread Robin
 kmradke at rockwellcollins.com writes:

 
 Did you add, or did the already have authz based access
 control?

No, I did not modify anything. The authz was the same when I created the 
repository.

 (And do you still have read access to that path?)

No, the path is missing in the current repository. I can only find it in my 
old backup a few weeks ago.

 Did you dump, filter, and reload the repository at
 some point removing files in that path?
 Either of these actions would result in log entries
 with (no date)...

Nope. Just normal usage.

 If you are using an unpacked fsfs repository, check
 to see the size of the
 file with the revision number in the db/revs directory.
  Is it really small?

rev 98 is 174 MB

It is the same size in the current repository and in the old working backup.

rev 165 is 8 Mb.