svn

git for mercurial like git-svn

爱⌒轻易说出口 提交于 2019-12-24 09:54:04
问题 Hello is there a tool for git that allow to work with mercurial repositories F.e. for svn there is a git-svn package, that allows to clone/commit/update from svn and work in a git way.. So is there some tool for mercurial for that ? 回答1: See this related SO question: Git interoperability with a Mercurial Repository It seems that hg2git is of interest. It is part of the git fast-export family of tools. If you want hg to push/pull from a git repo, then consider the Hg-Git Mercurial Plugin. 回答2:

Tortoise SVN : Commit Failed (details follow) Authorization Failed

本小妞迷上赌 提交于 2019-12-24 09:39:53
问题 I am using Tortoise SVN Client Version: 1.8.2, Build 24708 - 64 Bit , 2013/08/27 19:20:39 installed on Windows 7 64 bit Enterprise Edition OS. From day 1, when I try to commit any file it shows below error. Command: Commit Error: Commit failed (details follow): Error: Authorization failed Completed!: Does anyone has any fix for this? 回答1: I figured the answer myself. I was using Repo Browser URL beginning with svn:// instead of http:// Now, I started using http and SVN prompts me for login

git-svn commits to wrong branch / how to merge svn branch via git-svn

試著忘記壹切 提交于 2019-12-24 09:27:28
问题 I have a SVN repository which I checked out with git-svn, using the --stdlayout option (at that time, the repo was empty). I then worked on the master branch for a while. When using git svn dcommit , it would svn-commit my changes to https://my.host/repo/trunk like it should. At some point I created a branch named "arithmetics" with git. Later I wanted to create that branch in svn too, so I did a git svn branch arithmetics and then a git branch --set-upstream arithmetics remotes/arithmetics

Problem with .net app under linux, doesn't work from shell script

喜夏-厌秋 提交于 2019-12-24 09:27:06
问题 I'm working on a .net post-commit hook to feed data into OnTime via their Soap SDK. My hook works on Windows fine, but on our production RHEL4 subversion server, it won't work when called from a shell script. #!/bin/sh /usr/bin/mono $1/hooks/post-commit.exe "$@" When I execute it with parameters from the command line, it works properly. When executed via the shell script, I get the following error: (looks like there is some problem with the process execution of SVN that I use to get the log

What are the downsides to using the official Windows Git binaries from cygwin?

不问归期 提交于 2019-12-24 09:25:32
问题 Cygwin's latest git, svn and git-svn combination is stuck at old versions that have numerous git-svn bugs. I'm considering just downloading the official windows version (warning: this will start the a download: http://git-scm.com/download/win ), putting that in my path, and calling those binaries from Cygwin. What are the downsides to this? 回答1: Non-Cygwin Windows binaries won't be able to see Cygwin-style file paths. For example, your home directory might be /home/yourname as seen from

Managing trunk and feature branches: local delete, incoming delete upon merge

陌路散爱 提交于 2019-12-24 09:24:25
问题 I am using svn with a feature branch scheme. Whenever I try to merge trunk to a branch, I got the problem "local delete, incoming delete upon merge". It does not make sense to me. What I did to reproduce the error: 1) create a branch with "svn copy ^/blabla/trunk ^/blabla/branches/test-merge" 2) add a new file to trunk "touch t.c ; svn add t.c ; svn commit" 3) merge to trunk to branch "svn merge ^/blabla/trunk ^/blabla/branches/test-merge" The output is: --- Merging differences between

Managing trunk and feature branches: local delete, incoming delete upon merge

可紊 提交于 2019-12-24 09:21:22
问题 I am using svn with a feature branch scheme. Whenever I try to merge trunk to a branch, I got the problem "local delete, incoming delete upon merge". It does not make sense to me. What I did to reproduce the error: 1) create a branch with "svn copy ^/blabla/trunk ^/blabla/branches/test-merge" 2) add a new file to trunk "touch t.c ; svn add t.c ; svn commit" 3) merge to trunk to branch "svn merge ^/blabla/trunk ^/blabla/branches/test-merge" The output is: --- Merging differences between

Why doesn't commenting a dependency in the pom.xml (with m2eclipse) delete the jar in the tomcat server deploy directory?

泄露秘密 提交于 2019-12-24 09:18:10
问题 I started using Maven 2.2.1 and downloaded the latest m2eclipse plugin version 0.12.0. I am using Eclipse 3.5.1 and Tomcat 6.0.26. I checked out the mvc-ajax project (in eclipse: File>New>Project>SVN>Project from SVN) and when I ran the server, I came upon the following exception: org.apache.jasper.JasperException: Unable to read TLD "META-INF/c.tld" from JAR file "file:/tomcatDeployDirectory/mvc-ajax/WEB-INF/lib/jstl-1.2.jar" which required deleting the jsp-api2.1.jar (as I found out from

How can I commit a file to SVN that I forgot to commit a while ago, (tweaking it's revision number)

岁酱吖の 提交于 2019-12-24 09:12:52
问题 So I've been happily using subversion to regularly commit files in my stack of projects related to my massive Visual Studio solution. I decide to do a svn export one day, and, decided I needed to see how my project was working back in October of 2008. So, I export to my local file system, revision 37. When I go to compile the project, somehow there were 2 or 3 files that got overlooked way back in October. Let's say they didn't get committed until revsion 99, or better yet, they're still not

Getting list of all folders but not the files

和自甴很熟 提交于 2019-12-24 08:48:32
问题 I am trying to use the svn commands to gather all folders and subfolders from svn. The list is huge. I have tried making an empty folder on svn and compare it with the base but it crashes after 4 hours. I have tried the following this morning : svn list --depth infinity http://serverip/svn/root/ and it has been running for nearly 6 hours so far and still not finished and it lists all the files. I tried on the side a couple other ways with grep and egrep parameters but it is not recognized so