Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Mercurial with Perforce

Does anybody have any advice about using Mercurial as a front end for Perforce? What I would like to do is to use Mercurial to handle really granular changes and then, once I'm done something, push it back up to the Perforce server.

I found this article http://www.dehora.net/journal/2008/01/05/using-mercurial-with-perforce/ but it doesn't suggest any tooling to help out with the integrations. Does any exist? I suppose I am looking for it pull any new changes from Perforce, integrate them into my local Mercurial then roll up all the Mercurial commits I've made since last integration and push them up to Perforce. Similar to git-p4.

like image 984
stimms Avatar asked Aug 20 '10 15:08

stimms


People also ask

Is Mercurial dead?

Mercurial isn't dead. But Atlassian's Bitbucket support for Mercurial is. There are many teams who still have Mercurial repositories. So, Mercurial is very much alive.

Is Git or Mercurial better?

Mercurial Is Safer For Less Experienced Users By default, Mercurial doesn't allow you to change history. However, Git allows all involved developers to change the version history. Obviously, this can have disastrous consequences. With basic Mercurial, you can only change your last commit with “hg commit – amend”.

Can I use Mercurial with GitHub?

Overview. This extension adds the ability to work on a Git repository from Mercurial. It also allows using a Git server as a collaboration point for a team with developers using both Git and Mercurial.


1 Answers

I got an error when I followed the link you gave. But I suggest you look into the perfarce extension (I love the name!). I have not used it myself, but it's my understanding that this is what people use to bridge the gap between Mercurial and Perforce.

See also the wiki page on Perforce concepts. It seems to have a lot of good info.

like image 133
Martin Geisler Avatar answered Sep 27 '22 17:09

Martin Geisler