mercurial

Netbeans Mercurial plugin doesn't have addremove option in GUI menus

I use Netbeans for development and have been doing my Mercurial operations on the command line even though Netbeans has a Mercurial plugin to add various Mercurial commands as GUI options. One of the things I always do when I add or delete a file is run hg addremove But the Netbeans Mercurial plugin doesn't offer this as an option. ...

Mercurial repository layout for multiple branches

I have a number of quasi-related projects that I want to version control. In SVN I would set them up as multiple directories within a single project /scripts #updates in sync with project1 & project2 /project1 #requires database /project2 #requires database /database Naturally other SVN layouts are possible for this toy example, but ...

Mercurial - Could not lock working directory

heya, We have a web-app, that we're deploying to a remote Ubuntu server. The app is stored on BitBucket, and we also have Fabric scripts we're using to automatically deploy the app. On the server, we have the files for the app in /var/www/name_of_site, this folder being a Mercurial repository. The files are owned by the user www-data...

Mercurial Eclipse Plugin

Where can I find a good Eclipse Mercurial Plugin? ...

bitbucket mercurial cannot see source codes in source column

I commit all my files into bitbucket. i try check in,revert file i deleted using netbeans and everything ok. when i logined into bitbucket and select my repository (private). I unable to see my source codes inside "source" column ...

Which Mercurial plugin should I use for IntelliJ

Which of the hg plug-ins has: the least hassles causes the least trouble is prettiest ...

mercurial use case solution

Hi, the project that i am involved in has a lot of small modules that are managed by different developers.We are currently using svn but wanting to switch to mercurial,as we need to go to client site and do a little bit of development and so it becomes difficult to manage versions.. But the complete trunk is huge about 4-5 GB and creat...

Pros and cons of different branching models in DVCS

The Big Three of distributed version control (Git, Bazaar, and Mercurial) each treat branching fairly differently. In Bazaar, for example, branches are separate repos (actually, divergent copies of the parent repo); on your file system, different branches live in different directories. In Git, on the other hand, you can have multiple bra...

Convert Subversion repository to Mercurial

I am trying to convert an SVN repository to Mercurial, but I'm having some troubles. These are the steps I've taken: (I am on Windows) Turned on "convert" in the extensions Opened a command window, and typed: hg convert http://myversioncontrorepositoryhere It says it's initializing the destination folder and then asks: Enter use...

Subversion python bindings could not be loaded

This is a but of a part 2 in trying to convert an SVN repository to a Mercurial one command is: hg convert file://c:/svnrepository but, the output I get is: assuming destination svnrepository-hg initializing destination svnrepository-hg repository file://c:/svnrepository does not look like a CVS checkout file://c:/svnrepository does...

Mercurial: I get an error while cloning a remote repository via ssh

I'm having difficulty figuring out how to clone my Mercurial repository from my local machine to the server. I actually found an answer to my question here (As the second part of #4.5 in http://mercurial.selenic.com/wiki/FAQ), but I don't know what to do with the answer. On the other hand, if the error message is remote: bash: line...

Exporting an unversioned copy of a tag from Mercurial

I'm fairly comfortable with SVN, but have been looking at Mercurial for it's ability to perform offline commits. Something I haven't been able to figure out is how to do an unversioned export an old tagged rev. In SVN the tags would just live in a \tags folder in the repo, then I could just export something from there, but it doesn't s...

Mercurial: Export last n revision into MQ

Hi, is there an easy way to export last n commits into a new mq queue and strip the commits from the real repository? I do often start out developing a new feature, later realising I did something wrong/would want to use MQ to fold patches. I am currently doing: Export last n commits as single patches Strip last n commits create new...

Version control; choices, choices, choices!

Our setup as follows: We have a local development server running Ubuntu, with a setup to mirror that of our live host. Each developer works on a Windows machine and accesses the files from the local dev server. The projects in question are a number of websites built in PHP. Seeing as there are no good reasons not to use version control...

In Mercurial, how do I merge a single revision?

In Mercurial/tortoiseHG, given the following example, what is the easiest way to merge revision "G" into repo A without taking D,E and F (Assume that G has no dependency on D,E or F). Repo A: A - B - C Repo B (Clone of A) A - B - C - D - E - F - G Is a patch the best bet? ...

Mercurial: Why would you maintain separate branches/versions of software in separate cloned repos rather than with tags?

I'm looking at the mercurial handbook, chapter 6 "Working with multiple branches". In there the author states that if you have separate versions/branches of the same software that it makes sense in an implied obvious way to host each branch of the software in a separate repository. I know that Mercurial supports tags (which is the way t...

Why does hg clone of hg.netbeans.org/main report "9 integrity errors"?

I just finished cloning the (huge) netbeans repository for the second time. I found that I couldn't successfully pull changes, after my first attempt to clone, earlier this week. I guessed that some intermittent error had corrupted the repository the first time around... that appears not to be the case. I'm using hg 1.3.1 on Ubuntu 9.4...

Hg Pull vs. Update to branch tip

Using TortoiseHg Synchronize, clicking "Pull" pulls down the 2nd most recent revision. At the bottom of the Synchronize interface is a button, "Update to branch tip." Clicking this button pulls down the most recent revision. What is happening here? ...

.hgignore whole directory tree excepting one specific file

Can anyone tell me the .hgignore pattern to track one specific file in a directory and to ignore everything else? I have a "media" directory which contains a "default.png", for obvious purposes, and the rest of the directory will hold user media. We want hg to ignore everything in the media directory excepting the default file. ...

mercurial: test whether a branch contains a changeset

I wonder whether there is a mercurial command/extension that just tests whether a given changeset is in a branch. The command would be something like: hg contains [-r branch] changeset_id and should check whether the given changeset is in the current/given branch, returning just "Yes" or "No". I know about the "debugancestor" command...