If I run git hash-object on a file, I can get it’s SHA, and if I look around with ls-tree I can see what signature an object had at a certain revision. If I do three commits with Mercurial, of a file, can I see what hash the object had at the 2nd commit? Can […]
I need advice on my development process with mercurial when working on legacy code. When I’m developing a new feature for a legacy project, I often need to refactor a part of the existing code during a feature implementation. I mean, I didn’t anticipated the refactoring and I need to do it before proceeding to […]
My usual workflow to update my self-compiled software is git clean -xfd git reset –hard git pull ./configure # … What would be the equivalent for clean -xfd and reset –hard in Mercurial?
I create a working repository in HG. And I have modified some files. How can i move my all my modification to a branch (a branch that I have not created)? (kind of ‘git stash’ and the move the stash away change to a branch. Actually, I am not sure how I can do that […]
In order to stop writing my .hgignore for every new repository; I decided to create a separate repository for my hgignores which currently looks like: hgignores ├── cpp ├── eclipse ├── intellij ├── java ├── latex ├── linux ├── netbeans ├── osx ├── python └── textmate Now for each repository, I am pasting the relevant […]
With Mercurial, if you try and push and there were commits made to the main repo, you are forced to pull and merge. The problem is, when you go to commit your changes, the changeset you push contains files that you were forced to merge. You didn’t touch these files, yet the history shows you […]
We currently use activecollab with subversion, but we want to consider using Git or Hg to give us distributed source control. Is anyone making this work, so that revisions can be linked to tickets in activecollab, just as they are for SVN?
Is there a single server I can use to store/manage repositories which could then be accessed by the common/modern open-source (D)VCSs such as SVN, Git, Mercurial, bzr, etc and still keep a good level of compatibility with all of them? We have a large number of users on SVN, some on Git, and a couple […]
Is there any plugin for distributed SCMs that forbids pushing code that doesn’t fulfil a certain criteria (e.g. min test coverage)?
I’m moving to HG from Git and having a hard time with some of the restrictions HG is imposing on me: I am in a situation where I have some erroneous commits that I want to blow away. In fact, It would be really nice if I could just match the remote repo’s history. With […]