fsfs

svn repository on Windows network share

江枫思渺然 提交于 2020-06-24 22:57:46
问题 Is it safe for multiple computers to concurrently access an svn repository stored on a shared filesystem? I'm building an application in which each Windows client machine has a local working set of files, and can periodically synchronize with the rest of the team. From a server standpoint, I'd like to rely on nothing except a Windows shared mount point. Does the svn file:// URL protocol support shared filesystems, or does it assume that the filesystem is local? The Subversion docs mention

How can I determine whether a Subversion repository was created with a BDB or fsfs backend?

爷,独闯天下 提交于 2020-01-02 01:46:06
问题 If you arrive at a pre-existing Subversion repository, how can you determine whether it was created with a BDB or fsfs backend storage method? 回答1: Open the file repository\db\fs-type with a text editor. It either contains bdb or fsfs indicating which backend it uses. 来源: https://stackoverflow.com/questions/6122054/how-can-i-determine-whether-a-subversion-repository-was-created-with-a-bdb-or-fs

svn Can't set position pointer in file

北慕城南 提交于 2019-12-23 16:34:29
问题 I'm having an issue with an svn repository that has been working just fine up to now. I am getting the error svnadmin: Can't set position pointer in file 'repository/db/revs/0/783': Invalid argument for example when I run svnadmin verify Other general symptoms include not being able to checkout, update, commit etc. Any help much appreciated thanks! Peter 回答1: OK... I just had this problem and was able to fix it. I'm using FSFS. The last good revision I had was Revision Number 88. Revision 89

svn Can't set position pointer in file

核能气质少年 提交于 2019-12-23 16:32:19
问题 I'm having an issue with an svn repository that has been working just fine up to now. I am getting the error svnadmin: Can't set position pointer in file 'repository/db/revs/0/783': Invalid argument for example when I run svnadmin verify Other general symptoms include not being able to checkout, update, commit etc. Any help much appreciated thanks! Peter 回答1: OK... I just had this problem and was able to fix it. I'm using FSFS. The last good revision I had was Revision Number 88. Revision 89

What is the maximum revision number supported by SVN?

余生颓废 提交于 2019-12-22 01:33:36
问题 What is the maximum revision number supported by SVN? The repo is of type FSFS, hosted on a Fedora box. Thank you, 回答1: If you're using a 32-bit computer it's 2147483647, that's 2 31 -1, the maximum value of a signed 32-bit integer. For a 64-bit computer, it's... more. In any case, it should be enough for any practical purpose where humans are doing commits. In practice, you're probably going to run out of disk space or your directory indexes become too slow before you hit the maximum

Migrating Subversion Repositories across servers

吃可爱长大的小学妹 提交于 2019-12-18 12:22:11
问题 We're in the process of moving servers and one of the last items is moving over the svn repositories. There are about 10 gigs of various svn repositories. They were created using this command: svnadmin create --fs-type fsfs Server A(original) has svn 1.4 while Server B(target) has svn 1.6. My thought was to use rsync to migrate the whole set of repositories (they are all in 1 folder on the server), but I am worried that some things might either not get migrated or I need special switches for

How to find out Subversion repository version?

杀马特。学长 韩版系。学妹 提交于 2019-12-18 10:31:44
问题 How can I determine current version of my repository to see if I need to upgrade it (svnadmin upgrade)? In reality I'm hosting SVN with 3rd party and I want to find out if I need to ask them to upgrade my repos or not. I'm asking since 1.5 server will keep repo version at 1.4, unless I miss something? 回答1: Have a look at <REPO>/db/format . After upgrading to 1.5 format, my format file shows: 3 layout sharded 1000 Before it used to be: 2 回答2: Take the http or https link to your repository and

How exactly does subversion store files in the repository?

喜欢而已 提交于 2019-12-17 07:17:11
问题 I read the subversion book and it is clear to me that subversion does not store individual files but only deltas in order to minimize disk space. Subversion also does the same with binary files as well (this used to be a huge weakness of CVS). However I do not understand the exact mechanism. When I commit a file what happens? Subversion stores only the diff (and already has the old version) Subversion deletes the previous version, stores the new file intact and creates a reverse diff in order

Where does SVN store the data on the server side?

拟墨画扇 提交于 2019-12-10 17:19:56
问题 I have created an svn repo on my web host server and successfully commit files to it and updated files from it but I can't seem to actually find the files on the server! My svn repo is in ~/svn/my-first-repo/ which contains the following: ./ ../ README.txt conf/ db/ format hooks/ locks/ . But where are the files I'm actually versioning?! It's definitely worked because I was able to checkout the same remote repo into another local directory and all the files magically appeared! As if from

350GB SVN repo creates atleast 1MB revision for even a simplest task like branch/tag

末鹿安然 提交于 2019-11-30 21:19:52
This all started when I noticed that my repository size is increasing at a daily rate of 1GB. I did a simple test. Created a branch/tag of an existing folder that had a size of 35KB. I took note of revision number and went to $REPO/db/revs/<K-rev>/rev-number/ and checked the size of the revision. It was 1 mega byte. That sounds fishy. Any ideas on what might be wrong here. My repo is about 350GB in size with about 600,000 revisions. P.S. I have already started a rebuild of the whole repository to see if that makes any difference but it will probably take days to complete. Posted same question