Tag: mercurial

Xcode 4 and version control – But which one?

I have a question, the answer isn’t really hard technically, but I am more looking for the experience of most advanced programmers here. So like many noobs, I am doing my version control in the crappiest way, which is to copy paste my project directory and rename it with the current date/time. You will agree […]

Anyone know how to export Accurev to another VCS?

Does anyone know an easy way of exporting an Accurev ‘depot’ and its full history to, for example, git or mercurial? Or even via a 3rd party system? Unless I’m missing the obvious, I can’t find anything via google. If not, a bonus question, is it possible to build a git/mercurial repository based on patches […]

Why hg always commit a git submodule, even if it hasn't changed?

I have a hg repository, with a hg subrepository, which has some git submodules. (I know this sounds completely insane, but it’s working with svn repos in google code, in libs in github and modules in bitbucket. I’m using code freely made available by a bunch of people, WHO AM I to complain about their […]

How to do “hg backout X” in Git?

I have to use Git and want to undo one commit that was some commits before the tip. In Hg it’s hg backout. What’s the analog command in Git? (I duckduckwent before posting this and dont’s see an analog command.)

When considering git vs svn for work projects, is Mercurial best of both worlds?

Lately I’ve been searching for the best source control technologies for my work projects. I’ve been a subversion user for a while, but heard more and more about git. So I checked it out, and I very much liked the fact that it allows you to easily put your projects under source control, even offline, […]

hg equivalant of git revert

I have a commit on a public repository. I would like this commit to not be there (I’ve moved that work off to a branch), I obviously don’t want to destroy the branch history, basically just do an inverse of that commit. In git this is just git revert, but I’m not using git 🙂

Wikis with VCS backends?

I’ve recently stumbled upon some wiki‘s which use version control systems for their backend, namely Gollum (git) Hatta (mercurial) This seems like a pretty neat idea to me and I wanted to play around with one such wiki. I was wondering if the StackOverflow community has been using such wikis and could provide a list […]

Why is checking in files called a 'commit'?

The act of checking in files in a source control repository like git, mercurial or svn, is called a commit. Does anyone know the reason behind calling it a commit instead of just check in? English is not my mother tongue, so it might be some linguistic I don’t quite get her, but what I’m […]

Putting a project in Eclipse under source control

I’d like to know a step-by-step procedure for a noob on how to create a hello world project in Eclipse that is Subversion/Mercurial/Git integrated. I know this is easy, but I am unsure how to do it. I’ve: downloaded helios and put it on a local folder. created a new java project on directory “C:\workspace\tests”. […]

is `hg forget` the same as `git rm –cached`?

i’m having a hard time understanding hg forget. is it the same as git rm –cached? i.e. will remove the file with the next commit and stop tracking it?

Git Baby is a git and github fan, let's start git clone.