svn-repository

Importing older code with revision history to a new SVN repository [duplicate]

為{幸葍}努か 提交于 2019-12-23 06:15:10
问题 This question already has answers here : Move an SVN respository when the server is dead (3 answers) Closed 5 years ago . I have a code checkout from an SVN repository which is now not working, so original SVN server is now down. And we have some local changes into SVN which is yet uncommitted. How can I move the existing code available to us with revision history to the newly created SVN repository? Any idea would be great to begin! 回答1: Unlike git, svn doesn't store the complete history

Python library for getting information about SVN repository?

白昼怎懂夜的黑 提交于 2019-12-14 03:46:40
问题 I'm searching for a library that can extract (at least) the following information from a SVN repository ( not a working copy!): Revision numbers and their author & commit message Changes in each revision (added, deleted, modified files) Is there a Python library that can do this? For the authors and commit messages, I could parse "db/revprops/0/..." (simple format), but looking for changed files does not seem so easy, so I'd rather stick with a library that supports SVN repos. 回答1: There are

Pre-commit hook. Svnlook can't find the path “.tmp\format”

倖福魔咒の 提交于 2019-12-12 18:36:20
问题 I've made pre-commit.bat script, but it doesn't work properly. I want it to prevent sending commits without proper message("Ticket xxxxx"). Here's the code: set REPOS=%1 set TXN=%2 svnlook log %REPOS% -t %TXN% | findstr /r "^Ticket [0-9]{5}" > nul || echo "Follow the format [Ticket xxxxx ...]" 1>&2 && exit 1 exit 0 And here's what I get when I try to commit: The hook script returned an error: svnlook: E720003: Can't open file 'C:\Users\EDUARD~5.LI\AppData\Local\Temp\3\svn4FA6.tmp\format': The

Create new SVN repository from checkout code (from dead SVN repo)

不羁岁月 提交于 2019-12-11 17:26:08
问题 I have checkout code from svn the repository was remote and is dead now, can I use it to create new SVN repository with history? If yes, how can I do it? If no, what are the other best way to handle this kind of situation? Thanks in advance. 回答1: As @Thilo already mentioned, An SVN checkout does not contain the history. The best you can hope for is a consistent, complete, somewhat recent snapshot of the latest state of the trunk. In order to create a new repository with the same history as

SVN externals not properly displayed in TortoiseSVN's Repository Browser and locally marked as non-versioned

狂风中的少年 提交于 2019-12-10 10:48:57
问题 I work on a (work) project that's scattered across a myriad of (source) projects and SVN locations. To make life easier, I followed a colleague's advice and set up a new folder on SVN, /_all/ , and specified all of the other projects' trunk folders as externals: When I check /_all out, it dutifully pulls out all external projects. It works great. But in my SVN Repo Browser, I can only see one of all those externals being linked in. It also seems to have the wrong overlay icon (blue instead of

Restore users in SVN after migration

爱⌒轻易说出口 提交于 2019-12-08 21:22:39
How can I restore the user accounts after restoring the dump file, so that the repository starts functioning with the former user accounts and access rules? According to Version Control with Subversion : The Subversion repository dump format describes versioned repository changes only. It will not carry any information about uncommitted transactions, user locks on filesystem paths, repository or server configuration customizations (including hook scripts), and so on. However, if you still have access to the old repository you may try copying the contents of conf subdirectory to the new

Restore users in SVN after migration

混江龙づ霸主 提交于 2019-12-08 07:26:53
问题 How can I restore the user accounts after restoring the dump file, so that the repository starts functioning with the former user accounts and access rules? 回答1: According to Version Control with Subversion: The Subversion repository dump format describes versioned repository changes only. It will not carry any information about uncommitted transactions, user locks on filesystem paths, repository or server configuration customizations (including hook scripts), and so on. However, if you still

TortoiseSVN (relocate to new repository)

社会主义新天地 提交于 2019-12-06 16:45:55
问题 We are facing a problem in relocating our application from the old repository to a new one. Initially we were using //10.X.X.50/svn/XXX . Now we try to shift to the new repository at //10.X.X.152:8443/svn/XXX as the server hard disk has crashed ( 10.X.X.50 ). While we are trying to use relocate option in TortoiseSVN - it gives an error: The repository at 'https://10.X.X.152:8443/svn/XXX' has uuid '5005c752-e8bc-6a46-9f1b-84ec39085508', but the WC has '005a1777-a2fa-4437-9a0c-b35647624529' We

TortoiseSVN (relocate to new repository)

China☆狼群 提交于 2019-12-04 23:49:57
We are facing a problem in relocating our application from the old repository to a new one. Initially we were using //10.X.X.50/svn/XXX . Now we try to shift to the new repository at //10.X.X.152:8443/svn/XXX as the server hard disk has crashed ( 10.X.X.50 ). While we are trying to use relocate option in TortoiseSVN - it gives an error: The repository at ' https://10.X.X.152:8443/svn/XXX ' has uuid '5005c752-e8bc-6a46-9f1b-84ec39085508', but the WC has '005a1777-a2fa-4437-9a0c-b35647624529' We are using TortoiseSVN 1.5.9, Build 15518 - 32 bit. Currently, the new repository which is created on

Attaching VisualSVN Server to an existing repository

送分小仙女□ 提交于 2019-12-04 04:31:18
问题 All the recent VisualSVN Server posts made me want to check it out. I have SVN running right now through Apache, but I'd like to try out VisualSVN Server, mostly for the Active Directory integration. Their docs don't describe whether you can easily migrate an existing repository. Anyone done this before? 回答1: Visual SVN Server will use your existing SVN repositories with no problems. I have successfully migrated repositories from SVN + Apache to Visual SVN Server on multiple occasions. 回答2: