svn

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 can I get rid of the error “'folder_name' not valid as filename in directory” in TortoiseSVN 1.8.1 when checking out?

冷暖自知 提交于 2020-01-01 03:12:28
问题 When trying to check out a repository, I get: My TortoiseSVN version is: I downgraded to TortoiseSVN 1.7.13: With TortoiseSVN 1.7.13, the check out works fine but I cannot update/commit and it says I need to "upgrade working directory". When trying to "upgrade working directory", it complains about a "missing default entry": Does anyone know what's going on? 回答1: Remove the space in the folder's name. In order to rename folder, open Repository Browser and rename the folder. Subversion can

How do I branch an individual file in SVN?

丶灬走出姿态 提交于 2020-01-01 03:07:45
问题 The subversion concept of branching appears to be focused on creating an [un]stable fork of the entire repository on which to do development. Is there a mechanism for creating branches of individual files? For a use case, think of a common header (*.h) file that has multiple platform-specific source (*.c) implementations. This type of branch is a permanent one. All of these branches would see ongoing development with occasional cross-branch merging. This is in sharp contrast to unstable

Where do you put your app-config-files when deploying rails with capistrano and svn

浪尽此生 提交于 2020-01-01 03:04:30
问题 I have two config-files /app/config/database.yml and /app/config/userconfig.yml i don't want to put the database credentials and userconfig in the svn-repository, so i have database.yml.dist and userconfig.yml.dist checked in. What is the best way to get copys of the dist-files in the shared-directory when deploying the app for the first time? For later deploys i'll link to them from /app/current/config 回答1: You should place your config files in /path/to/deployed_app/shared Then in a

How to recover repository using SVN hotcopy?

纵饮孤独 提交于 2020-01-01 03:04:27
问题 Okay. I used svn's hotcopy to make incremental back-ups, now how do I test that the hotcopies will work properly? I searched the posts here regarding hotcopy. Most of them seem to just be encouraging the use of the svn hotcopy, but not talking about how to recover using hotcopy once made. Is there any advice about how to recover using the hotcopy that I've made? I also checked http://svnbook.red-bean.com/, but couldn't really find anything. Thanks. 回答1: svnadmin hotcopy will always create

How to recover repository using SVN hotcopy?

我是研究僧i 提交于 2020-01-01 03:04:14
问题 Okay. I used svn's hotcopy to make incremental back-ups, now how do I test that the hotcopies will work properly? I searched the posts here regarding hotcopy. Most of them seem to just be encouraging the use of the svn hotcopy, but not talking about how to recover using hotcopy once made. Is there any advice about how to recover using the hotcopy that I've made? I also checked http://svnbook.red-bean.com/, but couldn't really find anything. Thanks. 回答1: svnadmin hotcopy will always create

How do you setup a shared Working Copy in Subversion

耗尽温柔 提交于 2020-01-01 02:48:11
问题 I still very new using Subversion. Is it possible to have a working copy on a network available share (c:\svn\projects\website) that everyone (in this case 3 of use) can checkout and commit files to? We don't need a build server because it is an asp site and the designers are used to having immediate results when they save a file. I could try and show them how to set it up local on their machines but if we could just share the files on the development server and still have the ability to

Subversion python bindings could not be loaded

China☆狼群 提交于 2020-01-01 02:01:09
问题 This is a but of a part 2 in trying to convert an SVN repository to a Mercurial one command is: hg convert file://c:/svnrepository but, the output I get is: assuming destination svnrepository-hg initializing destination svnrepository-hg repository file://c:/svnrepository does not look like a CVS checkout file://c:/svnrepository does not look like a Git repo Subversion python bindings could not be loaded file://c:/svnrepository is not a local Mercurial repo file://c:/svnrepository does not

merging changes from a maven release branch yields conflicts due to changed versions in poms

丶灬走出姿态 提交于 2020-01-01 00:29:33
问题 following standard practice, I have an svn trunk for feature development, and a forked-off branch for building releases. The branch has been created using the maven release plugin, which is also used for creating releases. As it happens, the occasional bug will be fixed on the branch, and those changes need to be merged back into the trunk. To not miss any changes, I'd like to be able to simply merge the complete branch back into the trunk. Now my problem is that I get numerous conflicts in

WEB中的敏感文件泄漏

一世执手 提交于 2019-12-31 23:24:35
文件泄露, 根据泄漏的信息敏感程度, 在WEB漏洞中可以算是中危甚至高危的漏洞, 本篇文章就来 介绍下一些常见的泄漏, 主要分为由版本管理软件导致的泄露, 文件包含导致的泄露和配置错误导致的泄露. 版本管理软件造成的泄露 git git 可以说是当今最受欢迎的版本控制/版本管理软件了, 很多基于git的云端托管仓库都提供了 免费的托管服务, 甚至有不少还支持免费私有仓库, 如bitbucket和国内的gitosc(开源中国)等. 关键文件 git在初始化项目的时候, 会在项目的根目录(可用 git rev-parse --show-toplevel 查看)创建一个名为 .git 的隐藏文件夹, 里面包含了本地所有commit的历史记录. 如果无意间将这个目录置于WEB的路径下让用户可以访问, 那么也就泄露了几乎所有的源代码和其他其他敏感信息. 泄露内容 所有该项目的源代码 私有仓库的地址 私密的配置信息 所有commiter的邮箱帐号信息 (可能)内部的帐号和密码 ... 利用方法 常规的利用方法就是下载整个目录, 然后用 git 命令回滚整个项目: wget -r --no-parent --mirror http://www.example.com/.git cd www.example.com && git reset --hard 当然也有一些自动化利用的脚本: dvcs