svn

Mercurial compared to private branches in SVN

∥☆過路亽.° 提交于 2019-12-23 20:26:28
问题 Assume for a minute that the branch/merge support in SVN is as good as in Mercurial. Consider on the one hand a SVN system where people always work in their own private branches, and then when they are at a suitable point, merge their private branch into the "main" (or whatever their "parent" branch happens to be). Periodically they can merge the other way to get their private branch up to date. Then on the other hand consider the Mercurial set up of having a central repository and each

E155021 Unsupported working copy format

妖精的绣舞 提交于 2019-12-23 20:14:01
问题 I recently switched from NetBeans 6.7.1 to 7.3.1 (from a Windows 7 system to another Windows 8). In 6.7.1 I used the CLI client from Collabnet to access the SVN repository, in 7.3.1 it is the included SvnKit of NetBeans itself. When I tried to commit a file, I received an error: svn: E155004: Working copy 'C:\Users\user1\Documents\NetBeansProjects\project1\_admin' locked I then tried to cleanup the working copy, but got another error: svn: E155021: Unsupported working copy format In the

SVN cleanup causes “error processing command 'modify-wcprop'”

我与影子孤独终老i 提交于 2019-12-23 20:04:06
问题 I'm trying to checkout a large directory and part way through, the SVN server crashed. I've tried to perform a cleanup but every time it errors saying a file is not under version control. root@mitydsp-dev:~/nvsp2# svn cleanup svn: In directory 'Platform/qt5/qtdeclarative' svn: Error processing command 'modify-wcprop' in 'Platform/qt5/qtdeclarative' svn: 'Platform/qt5/qtdeclarative/LICENSE.FDL' is not under version control If I go into Platform/qt5/qtdeclarative there is no LICENSE.FDL file. I

How to do a bulk svn mv in Unix

别说谁变了你拦得住时间么 提交于 2019-12-23 19:52:59
问题 I want to bulk move a large number of files from one directory to another in svn. Unfortunately svn only supports moving one file at a time. Basically I want to move files of a certain type ( .xml) to a completely different directory e.g. mv foo/bar/ .xml forbar/xml I tried playing around with find and using -exec but I need to strip the directory off for the second argument. Any ideas? EDIT: Using bash 回答1: You can do it with the -execdir option. This runs from the directory that the source

Why do I get 'Bad file descriptor' when trying sys.stdin.read() in subversion pre-revprop-change py script?

女生的网名这么多〃 提交于 2019-12-23 19:34:56
问题 I'm trying pre-revprop-change hook script on a Windows machine, but find a tough problem. I distill my problem to the following scenario: I have C:\csvn\data\repositories\tr1\hooks\pre-revprop-change.bat with content: D:\svntest\testhook.py %* exit %ERRORLEVEL% testhook.py is: import os, sys if __name__ == '__main__': # sys.stderr.write(sys.version+'\n') # this is OK, tried. newtext = sys.stdin.read() # try to read new log message sys.stderr.write('newtext is: %s\n'%newtext) exit(2) However,

Check if Java Class is commented in SVN Precommit hook

可紊 提交于 2019-12-23 19:33:30
问题 I want to ensure that a Java class is commented, before someone commits something into the SVN repository. So I want to realize the following workflow: User changes something in a class User wants to commit class Before executing the commit to the repository, SVN or something else checks if there are comments before the class and before public methods (for Java AutoDoc). If there are comments => Commit, Otherwise return Error message How can I realize this? I found a lot about pre-commit

TeamCity - MSBuild - SVN - AssemblyVersion - C#

為{幸葍}努か 提交于 2019-12-23 19:28:53
问题 I'm currently using MSBuild+Community Task's to change the AssemblyVersion, AssemblyFileVersion + more in AssemblyInfo.cs, via TeamCity and it works like a charm :). However I would like to commit the modified AssemblyInfo.cs back to the repo. How can I do that? I tried with the " SvnCommit " task from Community Tasks , but on the Agent's the source is not checked out, it appears to be Exported or copied directly from TC instead (there's no .svn folders). This is actually very cool I think

VisualSVN Server what Windows Server 2008 roles needed for user to be able to login

北战南征 提交于 2019-12-23 19:28:44
问题 I have an SVN Server located on a Windows Server 2008 and I have setup my username properly at the SVN level (read/write access rights). But when trying to access the server via a browser, I get the You don't have permission to access /svn/project1/ on this server. Are they any special Windows Server Roles that I need to setup in order to make this svn user login work? 回答1: No special Windows Server roles are required. You should check what is logged to VisualSVN Server log when you get the

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

Versioning for different platforms with phonegap

只谈情不闲聊 提交于 2019-12-23 19:20:17
问题 We have encountered quite a few problems with our versioning when it came to our new project, where we work with phonegap 3.2. I wanted to ask you what's the best way to have the data versioned, with the following requirements: All developers have to change the www folder in the root directory in the project Some developers also need to change the Java Files in the platforms/android/src folder Some developers also need to change the Objective C code Should there be 3 different repository