svnadmin

TortoiseSVN svnadmin

假如想象 提交于 2019-12-05 01:15:58
Currently im setting up TortoiseSVN and reading through docs etc. The manual often mentions svnadmin. I figured out, that I have to download it seperatly . But the link seems to be old. After some browsing I got here . But I can't find a version 1.6.7, like my TortoiseSVN installation. Also I'm a little bit lost, because of the many files. So where can I get svnadmin from? Update: To clarify things. I am setting this up as a single user, without a server. I was searching for svnadmin, because the TortoiseSVN documentation stated it could be dangerous to just copy the repository directory when

How to set permissions in an svn repository?

断了今生、忘了曾经 提交于 2019-12-04 16:10:23
问题 I created a repository on a network drive with svnadmin create repos . Is there a way to set user permissions to the repository? And if that is the case how can those permissions be set? 回答1: If you need to manage access via svn:// protocol (embedded authorization), all you need to do is to change files in conf folder of your newly created repository: Set up passwd ( repos/conf/passwd ) in order to define a list of users and passwords Set up authz ( repos/conf/authz ) in order to define

Remove specific files from revision history

夙愿已清 提交于 2019-12-04 01:40:47
问题 I am trying to remove specific files from the revision history that I did not mean to commit. Can someone provide a way to do this? 回答1: You'll need to use svndumpfilter tool. The procedure involves dumping your repository, filtering (with svndumpfilter ) your dumpfile, and reloading the results into a new repository. See this chapter in the SVNBook for details. 回答2: Besides the filtering repository dump with svndumpfilter there is another solution that allows you to get rid of specific files

Merging a part of SVN repository to another repository with history

╄→гoц情女王★ 提交于 2019-12-04 01:28:43
问题 I have to svn repositories , lets say A and B . I want to add some of the directories of the B into A along with history.Is it possible to do that. To make more clear, following is the scenario. repo A repo B \branches \branches \sub-branch1 \sub-branch B1 \sub-branch2 \sub-branch B2 \trunk \trunk What i would like to do is, add sub-branch2 in the branches of repo A. How could do it? thanks in advance 回答1: Get the dump of sub-branch2 of repoB: svnadmin dump /location/of/repoB | svndumpfilter

how to use svndumpfilter to exclude a certain revision

ⅰ亾dé卋堺 提交于 2019-12-03 21:20:52
I have an SVN repository with a bad revision or two. I need to get rid of them! I was planning on using the svndumpfilter tool, which has an exclude command. However, I cannot figure out how to use it to exclude a revision. Everytime I use it, I end up with a Malformed dumpfile header error. See the command below; I want to exclude revision 23, and code is the directory containing the repository. >svndumpfilter exclude 23 code Excluding prefixes: '/23' '/code' SVN-fs-dump-format-version: 2 <waits for me to type something and press enter> 'vndumpfilter: E140001: Malformed dumpfile header '

How to set permissions in an svn repository?

牧云@^-^@ 提交于 2019-12-03 10:12:54
I created a repository on a network drive with svnadmin create repos . Is there a way to set user permissions to the repository? And if that is the case how can those permissions be set? If you need to manage access via svn:// protocol (embedded authorization), all you need to do is to change files in conf folder of your newly created repository: Set up passwd ( repos/conf/passwd ) in order to define a list of users and passwords Set up authz ( repos/conf/authz ) in order to define groups and privileges Set up svnserve.conf ( repos/conf/svnserve.conf ) in order to define general access

How do I fix a repository with one broken revision?

倾然丶 夕夏残阳落幕 提交于 2019-12-03 06:19:04
问题 My home server had a hard drive failure. Once I realized the disk was going, I logged in and did a straight copy of my repository, which contains multiple projects. However, since the disk was failing, one of the revisions is broken: $ svnadmin verify master/ [...] * Verified revision 820. * Verified revision 821. * Verified revision 822. svnadmin: No such revision 823 The master/db/revs/ and master/db/revprops/ directories do, indeed, not contain any files called 823 , so this revision is

How do I fix a repository with one broken revision?

廉价感情. 提交于 2019-12-02 19:57:21
My home server had a hard drive failure. Once I realized the disk was going, I logged in and did a straight copy of my repository, which contains multiple projects. However, since the disk was failing, one of the revisions is broken: $ svnadmin verify master/ [...] * Verified revision 820. * Verified revision 821. * Verified revision 822. svnadmin: No such revision 823 The master/db/revs/ and master/db/revprops/ directories do, indeed, not contain any files called 823 , so this revision is missing (broken). There are subsequent revisions (that I really want to keep!) in the master/ repository

SVN 资源权限管理系统

岁酱吖の 提交于 2019-12-02 03:08:14
SVN 资源权限管理系统 — 安全流畅极简可靠 软件信息 后台语言:Java 数据库:MySQL 框架:SpringMVC,svnkit 后台UI框架:HUI+ 开源协议:Apache-2.0 功能 SVN仓库创建,管理; SVN用户,用户组创建,管理; SVN资源权限授权; 用户权限查看,密码更改; SVN仓库支持多库模式; 预览(部分功能) 登录页: SVN仓库管理: 创建SVN仓库理: SVN仓库资源权限管理: 用户资源权限查找 一、使用源码开发部署步骤: 下载项目源码; 找到文件 test\resources\svnadmin_init.sql 进行执行初始化; 默认root账户:root/root 删除所有账户,进行登录,则可以重新初始化管理员账号; SVN认证账户和登录账户默认一致; 二、使用部署包直接部署步骤: 下载最新部署包V4.1.0( 点此下载 ); 找到文件 src\test\resources\sql\svnadmin_init.sql 进行执行初始化; 配置数据库连接信息,配置文件位置:WEB-INF/classes/jdbc.properties 部署到tomcat等Web容器中即可;环境推荐JDK1.8 / Tomcat8 默认root账户:root/root 删除所有账户,进行登录,则可以重新初始化管理员账号; SVN认证账户和登录账户默认一致; 三

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

有些话、适合烂在心里 提交于 2019-12-01 19:57:44
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 and find the meaning of this error, but have been unable to find information for this specific error