How do I delete a remote bookmark in Mercurial?

To delete a bookmark from a remote server, you must have permission to push to the server. If you can push to it, then you can: hg bookmark –delete <bookmark name> hg push –bookmark <bookmark name> See the “Working With Remote Repositories” section of the Mercurial BookmarksExtension wiki for further info. NOTE: This only removes … Read more

Mercurial and Word or PDF documents

Yes. You will be able to do meaningful diffs for MS Word documents. If you have TortoiseHg installed and you have set up a repository, right-click the file for which you want to check the diffs. On the context menu, click TortoiseHg > Visual Diffs. In the Visual Diffs dialog, select docdiff, instead of kdiff3. … Read more

How can I use vim not vi to write commit message?

From the editor docs: Mercurial tries to pick which program to call to edit a commit message by trying the following (in order): HGEDITOR environment variable editor configuration option in [ui] section (in hgrc or passed with –config ui.editor command-line option). VISUAL environment variable EDITOR environment variable vi, if none of the above is set … Read more

For home projects, can Mercurial or Git (or other DVCS) provide more advantages over Subversion? [closed]

Take a look at part about version control for single developer in my answer to “Difference between GIT and CVS” question here on StackOverflow. Some of those issues do still apply also to Subversion versus Git (or other distributed VCS: Mercurial, Bazaar, or less known: Monotone, Darcs), even if Subversion is improvement over CVS. DISCLAIMER: … Read more

Can we finally move to DVCS in Corporate Software? Is SVN still a ‘must have’ for development? [closed]

On the one hand, SVN integration (with IDE, frameworks, wikis, …) is very mature, as well as its GUIs and code browsers (even though DVCS like Git and Mercurial progress every day). On the other hand, introducing a DVCS in an Enterprise environment is still not a trivial task: Some requirements are not easily met … Read more

Mercurial with multiple projects

Some subversion repositories will group logically unrelated things (i.e. projects with different version numbers and release cycles) under one trunk: . |– branches | |– project-a-1.x | `– project-a-feature-1 |– tags | |– project-a-1.0 | |– project-b-1.0 | `– project-b-1.1 `– trunk |– project-a `– project-b This kind of layout has no direct analog in … Read more