While attempting to get an old svn dump of a project under git control, I ran into an interesting problem. Whenever I run git svn, I get an error saying it isn’t a git command, yet there is documentation for it that I can pull up using git help. Is there something wrong with my […]
I have an SVN repository structure like below. We are using multiple levels under branches for various release maintenance branches, plus a directory for feature branches. git–svn init seems to work with a single –branches argument, i.e. it seems to expect all of the branches to be in a single location. trunk branches 1.1 1.2.1 […]
We are considering switching our VCS to either git or subversion. I’d prefer switching to git, but subversion has a nice feature that I don’t see in git : per directory access control. We currently have project1, project2 repositories in cvs, with different permissions. We’d like to have one single repository, with two directories project1 […]
I want to access a repository using both GIT and SVN clients. A way I imagined to do that is through automatic two-way migration: when a user PUSHes into the GIT repository, it is also COMMITed in the SVN repository and vice-versa. There is any tool that would help me to do that?
Browsing through the git documentation, I can’t see anything analogous to SVN’s commit hooks or the “propset” features that can, say, update a version number or copyright notice within a file whenever it is committed to the repository. Are git users expected to write external scripts for this sort of functionality (which doesn’t seem out […]
What’s the git equivalent of svn status -u or more verbose svn status –show-updates. The svn status –show-updates command shows the updates that the svn update command will bring from the server. Thanks!
I’m looking to hear some best practices… Assuming a web application that interacts with a few different production servers (databases, etc.)… should the configuration files that include database passwords be stored in source control (e.g., git, svn)? If not, what’s the best way to keep track of server database (or other related) passwords that your […]
I’m using git-svn to work with an SVN repository. My working copies have been created using git svn clone -s http://foo.bar/myproject so that my working copy follows the default directory scheme for SVN (trunk, tags, branches). Recently I’ve been working on a branch which was created using git-svn branch myremotebranch and checked-out using git checkout […]
I’m a lone developer at the moment; please share you experiences on what is a good VC setup for a lone developer. My constraints are; I work on multiple machines and need to keep them synced up Sometimes I work offline I’m currently using Subversion(just the client to a remote server), and that is working […]
I used to work under Subversion/SVN and was instantly using nice feature called keyword substitution. Just putting in source files smth like: /* * $Author: ivanovpv $ * $Rev: 42 $ * $LastChangedDate: 2012-05-25 21:47:42 +0200 (Fri, 25 May 2012) $ */ And each time Subversion was substituting keywords (Author, Rev, LastChangedDate) with actual ones. […]