-
All Sites *scm version-control version versioning hgignore hgrc hgsubversion tortoise* mercurial msysgit git* svn subvers* fortify* rtc
How to manage Migrations in a project with multiple branches?
I have an ASP.NET MVC3 project that uses Entity Framework 4.3 with the code-first approach. I use Migrations to keep the database up-to-date. The project is under source-control and I have a number …
git merge: is there a way to force --squash?
So, the dev workflow for our project is like this: we create a task/bug ticket, and we branch off master to work on the task/bug, and eventually merge it back to master. We would like the commits on …
Red exclamation mark in Eclipse with mercurial
I have imported a project with Mercurial (hg clone ...). When opening it with Eclipse, a red exclamation mark appears by the project's name in the Project Explorer, and it cannot be built. Silly ...
Broken packages, synaptic and Libre Office broken, when upgrading to 12.04
I upgraded to version 12.04 this morning. Has caused broken packages which I cannot undo because it has caused brakages in my synaptic package manager. I cannot use Libre office writer and every ...
Git repository objects do not disappear after filter-branch
We did a client migration into a website. Our code was on a separate branch, which was then merged into master and release. Master has been branched several times since for other features, as well. …
Hunt down large files / commits in git history
I've got a git repo of 300 MB. My currently checked-out files weigh 2 MB, and the git repo weighs 298 MB. This is basically a code-only repo that should not weigh more than a few MB. Most likely, ...
Eclipse shortcut for Compare With Head Revision
I want to have a keyboard shortcut for comparing the current open buffer with the HEAD version of that file. This is available in the context menu by clicking Compare With/Head Revision. I tried to …
Git Extensions has pending changes that aren't my own?
This question might be a long shot because I still cannot reliably duplicate the issue but it has happened to several of my coworkers on many occasions and it still baffles me. Occasionally Git ...
Subversion on Perforce Projects
I have a project that's currently in a Perforce repository. Unfortunately, due to some testing restrictions, I have a test machine (private build of something that resembles linux) that, for whatever …
How to tell if you need to pull from a git repo?
I would really love a shell script, command, or anything, to tell me if I need to pull from a repo. Whenever I work on a piece of code, I'm always forgetting to pull before I push, and in that case, …
Test if file under version control in pysvn (python subversion)
In pysvn, how do I test if a file is under version control?
Mercurial one head, two deviations
I have run into an interesting situation that I do not know how to describe. So I here is a screenshot of it (note that two programmers are working here with a central repository that both synchronize …
Do DVCSes discourage continuous integration?
Say there is a team of ten agile developers. Every day they each pick a task from the board, commits several changes against it, until (by the end of the day) they have completed the task. All ...
How to migrate SVN with history to a new Git repository?
I read git manual, FAQ, Git - SVN crash course, etc. and they all explain this and that, but nowhere can you find a simple instruction like: SVN repository in: svn://myserver/path/to/svn/repos Git …
Move Nested SVN Repository
I need to move a SVN repository from one server to another in Windows. The trick is that I want to exclude everything except the trunk, branches, and tags from a project within a nested repository. I …
Python SVN Bindings - ImportError: No module named svn
I have recently updated my server using apt-get upgrade and then suddenly trac started showing the following error message: Warning: Can't synchronize with repository "(default)" (Unsupported version …
Setting up git on Linux server
I am trying to set up a git repo on a server running Linux RedHat. I follow the instructions on Github's help page. I reach the step where the instructions tell me to ssh into git@github.com. this …
How SVN can tell you which files to add
I have a lot of modified files in my working-copy. How can I tell which files are new (don't exist in SVN), and how can those be added? If I delete a file in my working copy, how can I also delete …
using maven scm plugin
Is it possible to use the maven scm plugin for tagging releases without having to use the release plugin? I'm trying to do the following but it doesn't work Extract from pom file <scm> ...
How do I merge multiple SVN repositories and keep one Branches and Tags folder
I have been asked to combine multiple (several hundred) svn repositories into a single repository. (Management decision) I need to import the full revision history, BUT instead of having multiple …
How do I form a Github API POST request to add a new comment to a gist?
I'm doing a Post request to github at this url: https://api.github.com/gists/2710948/comments Theoretically, this should create a comment with the text being formed from what's in the request body. …
git svn clone encounters error when an empty branch is created
I am trying to clone a large SVN repository in order to migrate to git, however the clone operation fails about a third of the way through when it gets to an SVN commit which creates a branch ...
synch two svn repos through GIT
Which is the best approach to keep two SVN repos in synch with git? One is the "master" the other one is only updated with the info from the master and nobody plans to check-in into the "slave" SVN …
gitk replacement allowing to view changes in files
We are starting to practice code review and there is a huge pain in making it in gitk, so i am searching for alternative or convenient workaround. What am missing in gitk is ability to: pick ...
Access a linux user's public_html from a WHM user's account
I've got a user that I've set up on my server as the owner of all my git repos. I did this through ssh, so there's no WHM acct set up for that user. I named this user 'git'. On my primary domain, …
Command to get svn diff of current and previous revision number
How can i get diff in file content of current and previous revision number by command line. and how can i get previous revision number. Thanks in advance
TortoiseSVN - How to know from which working copy a file was checked in?
I have many working copies of same repository on my PC, they are in different folders. I was just looking at the SVN log of a file I checked in some time ago and I can't remember from which working …
changed folder name on git
I changed the folder name that housed the folder that was connected to git that I was working on. It brought up a bunch of erros. I am wondering what is the best route to fix this.
Simple version/history on ndb/Google App Engine
I am looking to create a system for tracking versions (history) of content of ndb.Models/Expandos on Google App Engine (Python). The content can be relatively lengthy and there may be many versions, …
EGit - set up remote tracking correctly when creating a branch
When I create a new branch from a remote branch using EGit I get the wrong remote tracking set up: I create the local branch feature1 from the remote branch refs/heads/master and immediately push to …