Svnsync allows mirroring subversion repositories.
Questions tagged [svnsync]
97 questions
58
votes
6 answers
svnsync - couldn't get lock on destination repos
Using svnsync
$ svnsync --non-interactive sync ${REPO}
after an abort of the process there was this error message with retry
Failed to get lock on destination repos, currently held by 'svn.test.com:0e4e0d98-631d-0410-9a00-9330a90920b3'
... …

sdu
- 2,740
- 4
- 31
- 30
19
votes
3 answers
How to change svn url in svnsync?
How can I change (relocate) a subversion url that I entered when creating a mirror repository using "svnsync init" (example from #https://whatever to svn://whatever)?
tried to run svnsync init again with new url but
svnsync init…

sdu
- 2,740
- 4
- 31
- 30
11
votes
3 answers
svnsync not working : Revprop change blocked by pre-revprop-change hook
I'm trying to copy a used repository by using svnsync (I'm doing it this way in order to ensure optimal usage of my repository as long as its machine is working) but it does not seems to work.
I have two machines (I've changed the names, but not the…

Riduidel
- 22,052
- 14
- 85
- 185
10
votes
1 answer
SVN Move code with history between two repositories
I have to work on two repositories and want to move one directory with code between the two while keeping revisionhistory.
I read a few questions here on SO, but am still not sure which way to go. Our Repositories are HUGE (files (orkingcopy) not…

ted
- 4,791
- 5
- 38
- 84
8
votes
2 answers
Synchronize a SVN repository and later make it independent (copy a repository)
I am synchronizing an SVN repository between two systems using svnsync and I am not 100% sure if its possible to make it independent for my "new users" after the sync is finished.
What do I need to do to make it a completely independent entity? Is…

siliconpi
- 8,105
- 18
- 69
- 107
6
votes
2 answers
How to convert Windows path to file: URL, in a batch file, suitable for SVN command line use
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:…

MarnixKlooster ReinstateMonica
- 9,640
- 14
- 54
- 108
6
votes
4 answers
How to migrate a codebase from one svn repo to another preserving history?
I have a branch in a badly structured svn repo that needs to be stripped out and moved to another svn repository. (I'm trying to clean it up some).
If I do an svn log and not stop on copy/rename I can see all 3427 commits that I care about. Is there…

chotchki
- 4,258
- 5
- 34
- 55
6
votes
4 answers
Subversion: Is there anything faster than "svnsync"?
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…

Trevor Boyd Smith
- 18,164
- 32
- 127
- 177
5
votes
3 answers
Synchronize an SVN repo (svnsync) with encoding errors
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…

Hamish
- 22,860
- 8
- 53
- 67
5
votes
4 answers
What's the point of a read-only copy of your repository via svnsync?
I've been reading up on svnsync to create a read-only copy of our repository, but I don't really understand what the point of having a read-only copy of the repository is. If the master goes down for some reason can the read-only copy become…

darrickc
- 1,872
- 6
- 27
- 38
5
votes
0 answers
connection error with svnsync during SSL communication
I am on a Windows Server machine and trying to make a mirror of an SVN repository using svnsync (version 1.8.1 for win32, not installed, just extracted and svnsync called straight from the bin folder). The server requires a client certificate to…

Mav42
- 51
- 1
- 3
5
votes
1 answer
svn pre-revprop-changes error
I am already at my wits end. I have this problem for 2days now and the answers that I came up with have no effect. I searched over the net for possible solutions and did some of those, still no effect. I saw some answers but they are in linux and I…

user2586153
- 136
- 1
- 10
5
votes
1 answer
handling of large file in svnsync
We plan to have a SVN mirror repository in another office of ours in Sydney. We use VisualSVN server v2.5.7 in both locations.
I decided to use svnsync to do it. At first I wanted to sync all of our repositories and when all of them are synced with…

Mehdi
- 746
- 1
- 10
- 25
4
votes
4 answers
problems with svndumpfilter not excluding paths
I am getting strange results from svndumpfilter - I need to obliterate 24 instances of 2 specific files in our repo, scattered amongst many branches. I am running the command as documented like so:
e.g.
type dumpfile | svndumpfilter exclude…

RyanG
- 3,973
- 25
- 19
4
votes
0 answers
How to sync to a sub directory in svn mirror?
I want to mirror a sub directory in master svn, and ensure the directory of mirror as same as the master svn, for example:
a sub directory in master svn:
http ://X.X.X.X/svn/repo/a/b/c/d/....../subdir
sync to svn mirror:
http…

jack
- 41
- 1