svnadmin

Difference between svnrdump dump & svnadmin dump

徘徊边缘 提交于 2020-01-01 04:08:10
问题 I need a dump of a svn repository. I found two solutions svnrdump dump And svnadmin dump svnrdump dump is the same of svnadmin dump ? If not, what are the differences between these two commands ? 回答1: svnrdump generates the same dump as svnadmin dump . According to the red book: The svnrdump program is, to put it simply, essentially just network-aware flavors of the svnadmin dump and svnadmin load subcommands, rolled up into a separate program. The only difference between the two is that

How to copy between Subversion repositories preserving properties but not preserving history

梦想与她 提交于 2019-12-25 06:59:57
问题 How can I copy a folder from one existing Subversion repository to another without preserving history , and in such a way that preserves relevant svn properties (e.g. preserve svn:ignore , svn:eol-style but ignore svn:mergeinfo ). To use svn export followed by svn import would not preserve svn properties, so this is not good. We are currently experimenting with: svnadmin dump /path/to/repo1 -r HEAD | svndumpfilter include project/to/keep | svnadmin load /path/to/repo2 But so far we have not

Manually deleting only the latest revision from online SVN repository?

泪湿孤枕 提交于 2019-12-25 02:00:32
问题 In doing this: git svn dcommit committing wrong file?, now I have one - the latest - revision on the SVN server-side repository wrong; I'd like to delete it. I am aware I could do svnadmin dump/filter/load as per How do I fix a repository with one broken revision?, but I hoped there was an easier solution. So I tried this test: cd /tmp svnadmin create newRepo svn co file:///tmp/newRepo newRepo-checkout # Checked out revision 0. cd newRepo-checkout/ echo aaa > AA.txt svn add AA.txt # A AA.txt

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

Subversion E160004 X's root node's predecessor is Y but should be Z

删除回忆录丶 提交于 2019-12-20 01:15:25
问题 I've inherited a large Subversion Repository (74010 Revisions) and I am trying to perform a dump/load to upgrade the repository to the 1.8 version to take advantage of the space saving features. Before attempting this process I ran svnadmin verify over the repository in question to ensure that the repository was in good shape. Unfortunately I received the following error message: svnadmin: E160004: r1516's root node's predecessor is r1514 but should be r1515 I've done a lot of googling to try

svndumpfilter fails with “Invalid copy source path…” error

北城余情 提交于 2019-12-18 12:58:33
问题 I want to move part of my SVN repo offsite, onto an AWS instance & am following this page (Repository Maintenance) I have taken a dump of the whole repo (Windows commands): svnadmin dump c:\repo > all_repo Next is to filter it, to include only the project I am interested in (which is called "M1"). type all_repo | svndumpfilter include M1 --drop-empty-revs > m1 I know this is correct, as I have done it on some of the other projects already. On this project, it breaks with the error indicated

Move Subversion repository without history

会有一股神秘感。 提交于 2019-12-12 12:35:49
问题 There are a lot of posts on moving a Subversion history with version history but i am looking to do something different. Basically we have a repository that has been used as a proof of concept and we want to archive this. However we want to create a new repository with the latest version of some the code but with author histroy saved but it's a fresh start so we aren't interested in keeping the version history. Plus we are trying to keep the repository size down as there were binaries saved

Svn non-LF line ending problems with svn:ignore on dump load

我与影子孤独终老i 提交于 2019-12-10 19:17:48
问题 I'm trying to use dump files to migrate a repository (with history intact) on a system running svn version 1.2.3 to one running 1.7.1. Since the original repository is such an early version, using svnrdump directly is not an option. I used svnadmin dump and then moved the (8 GB) dump file to the 1.7.1 system. However, when I use the svnrdump load command from there, after 231 revisions, I get the following error svnrdump: E125005: Cannot accept non-LF line endings in 'svn:ignore' property I

How to continue a load that has failed in Subversion

蓝咒 提交于 2019-12-10 14:22:24
问题 I have started to load a subversion dump into a repository. Before it could finish, I exhausted my quota and the command stopped <<< Started new transaction, based on original revision 327 * editing path : XXX/YYY/Makefile ... done. svnadmin: Can't write to file '/XXX/db/txn-protorevs/2738-24o.rev': Disk quota exceed I have asked for more quota but now I am not sure how to continue the import. Should I simply redo the same command ? svnadmin load --parent-dir Software/xxx_modules /XXX/YYY < ~