Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 401891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:04:31+00:00 2026-05-12T17:04:31+00:00

At work we use perforce and are encouraged to make regular commits to it

  • 0

At work we use perforce and are encouraged to make regular commits to it (something I am fine with). However, I’d like to run something like mercurial so I can locally commit stuff that is work in progress and doesn’t necessarily compile/run and then from this do my regular commits to the central perforce server.

My question here is kind of two-fold, first off, does anyone know how well Visual Studio would cope with multiple source control bindings (ideally I want everything to be as autonomous as possible – hey, I’m lazy:))

And secondly, are there any tools available that would allow me to do something as simple as “Check current head of mercurial repository in to perforce”.

I seem to recall GIT allows you to do something similar to this, and I’m not entirely against trying it out.

If I’ve missed out anything obvious or am thinking about this in entirely the wrong way, please feel free to berate me 😉

Cheers

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T17:04:31+00:00Added an answer on May 12, 2026 at 5:04 pm

    The interest of your idea is not so much in the private commits as it would be in the “off-line development”: Mercurial or Git would allow you to work even if not connected to the central Perforce repository.

    But regarding branching, they are easier to create or merge with Hg or Git, so it could be an idea.
    The principle would be to create your Hg or Git repo right in your Perforce workspace.

    This article using mercurial with perforce (or some other centralized vcs) does illustrate a similar approach:

    If the code is already in perforce, I’ll pull down a copy and hg init a local repository; otherwise I’ll init using mercurial and check into perforce later (typically this is for a spike).
    The I’ll do some work, committing as I go to mercurial.
    My perforce commit tends to be a rollup of smaller hg commits, alternatively if I want to track changes specifically I’ll check in the individual hg commits by rolling forward the history using “hg update” (some more on this below).
    Don’t commit the .hg folder into perforce by the way

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use Perforce for source control at work and I want to 'open for
I sometimes use the feature 'Reconcile Offline Work...' found in Perforce's P4V IDE to
At work, we use Perforce for version control. There are problems with this: 1)
I currently use Perforce locally on my computer at home and on my computer
For non-Rails work, regular Ruby works fine on my Windows 7 machine. But I'm
At work we use confluence . On occasion it crashes, resulting in an error
Does your work environment use Harvest SCM? I've used this now at two different
For personal projects I use Git for SCM, but at work we use TFS.
There is a particular website I must use for work which is absolutely heinous
We have a tech support website/database at work that we use to record our

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.