svnsync

how do I work around this error while copying SVN repository by svnsync?

南楼画角 提交于 2020-01-01 16:59:13
问题 I am copying a repository by using svnsync and am receiving this error on the same revision every time. Transmitting file data ...svnsync: REPORT of 'https://svn1.avlux.net/xxxxxx.net': Could not read response body: Secure connection truncated https://svn1.avlux.net) It is a large revision and I don't have admin access to the server. Is there a way around this, even if it involves checking out and copying the revision manually? 回答1: Are you just trying to copy the repo once or are you trying

how do I work around this error while copying SVN repository by svnsync?

六月ゝ 毕业季﹏ 提交于 2020-01-01 16:59:11
问题 I am copying a repository by using svnsync and am receiving this error on the same revision every time. Transmitting file data ...svnsync: REPORT of 'https://svn1.avlux.net/xxxxxx.net': Could not read response body: Secure connection truncated https://svn1.avlux.net) It is a large revision and I don't have admin access to the server. Is there a way around this, even if it involves checking out and copying the revision manually? 回答1: Are you just trying to copy the repo once or are you trying

Syncing SVN to Mercurial using svnsync & hg convert — misses svn:externals?

泄露秘密 提交于 2019-12-23 19:28:05
问题 I've created a Mercurial mirror of an SVN repository (using this tutorial: http://oreilly.com/opensource/excerpts/opensource-mercurial/migrating-to-mercurial.html). The sync works great, except I've noticed it's not picking up an external repository that is referenced in the main SVN repo... I'd ideally like to be able to pull everything as a single repo into Mercurial (along with changesets if possible). What I'm not sure of is: is the missing external a limitation of svnsync, or a

How to convert Windows path to file: URL, in a batch file, suitable for SVN command line use

人走茶凉 提交于 2019-12-19 09:03:19
问题 In a Windows-based SVN installation (using CollabNet Subversion Edge), I have a post-commit hook batch file where I construct a repository folder name, and I need to call svnsync with a file: URL pointing to that Windows folder. The question now is: How can I convert a Windows folder or file name to a file: URL, in such a way that that URL is at least acceptable for the SVN command line tools? 回答1: In a batch file, if the variable FILE_OR_FOLDER_NAME contains the (absolute or relative, local

subversion svn sync message meaning

十年热恋 提交于 2019-12-13 05:50:03
问题 I've tried to create a mirror repository using svnsync. Everything is working fine but after the sync process is done it is showing below message. NOTE: Normalized svn:* properties to LF line endings (2 rev-props, 0 node-props). I've searched about this message and I found nothing(I would say I couldn't understood) Can anyone explains what does that message means? 回答1: This link claims: Subversion has always documented that properties had to have LF line endings. In 1.6 the server started

svnsync timeout after 10 minutes

巧了我就是萌 提交于 2019-12-13 00:53:43
问题 I have two Subversion repositories, a primary one and a secondary one. I want to setup svnsync to mirror all the commits on the primary repository to the secondary. But after the set up with svnsync init, when I launch svnsync synchronize to populate the secondary repo with the data already in the primary one, I get a timeout error after 10 minutes: svnsync synchronize http://secondary-repo --username=xxx --password=xxx svnsync: E175012: Connection timed out The commits are quite big, some

Incremental Migration from SVN to Git

我是研究僧i 提交于 2019-12-12 01:27:59
问题 Consider my below scenario : Suppose my svn repository contains 100 revisions , which has been migrated to Git Repository (So my Git contains the 100 revisions). Now my svn repository got updated, say with 5 more revisions hence it has 105 revisions . How do i migrate only the revisions 101 t0 105 to my GIT repository? The main challenges I have : I dont want to sync both SVN and Git.(SVN will be decommisioned soon) I need to migrate the Revisions with its history. I tried following up with

How to skip initial revisions in svnsync sync (to fix broken repository)

一世执手 提交于 2019-12-10 11:33:54
问题 I want to sync/copy a single project out of a moderate large SVN repo using the (usual) sequence svnadmin create %mirror% rem make insecure dummy hook echo rem dummy > %mirror%\hooks\pre-revprop-change.bat svnsync init %mirror_url% http://svn/original/... svnsync sync %mirror_url% This works but takes long time, see related question. In fact I do not need any revisions prior to e.g. r=17830. And the real problem is that the original repo seems to be corrupt before this revision and I can't

Synchronize an SVN repo (svnsync) with encoding errors

陌路散爱 提交于 2019-12-09 13:05:22
问题 Is it possible to fix/bypass non-UTF8 encoded svn:log records when synchronizing repositories with svnsync ? Background I'm in the process of taking over the maintenance of an open source module that is stored within a large (well over 10,000 revisions) subversion (1.5.5) repository. I do not have admin access to the remote repository to dump/filter/load the module. The old repository is being discontinued and I am trying to sync the original sub module to my local (1.6+) repository with

Subversion: Is there anything faster than “svnsync”?

≡放荡痞女 提交于 2019-12-07 10:40:15
问题 So I have my subversion repository stored on some cloud (for example code.google.com) but due to various reasons I need to make my code non-public. I decided I needed to download the entire repository and migrate to my own svn server. So I went about using: svnsync init DEST SRC svnsync sync DEST And it took about 0.5 seconds for each revision of the repo! Luckily my repo only had like 200 revisions... so a couple of minutes to wait. But what about mature projects that have 200,000 or 2,000