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 7398245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T03:50:48+00:00 2026-05-29T03:50:48+00:00

At the moment I am looking at transitioning from subversion to Mercurial at work,

  • 0

At the moment I am looking at transitioning from subversion to Mercurial at work, and as such the Mercurial repository is not yet published.

I have used the authormap argument to transform our usernames to the Mercurial format, which went fine.

Unfortunately two people have been commiting under the same name. The repository is not very large, so I would like to change the authors to match the right people. For that reason I would like to ask:

Is there any way to change the author for a specific changeset, or a list of changesets?

  • 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-29T03:50:49+00:00Added an answer on May 29, 2026 at 3:50 am

    You can use the bundled extension Mercurial Queues (MQ) to change commit authors. Note that MQ will only work as long as history is linear. If there are branches you need to first rebase them off to a temporary side branch, and then after editing rebase them back.

    First qimport the changes up till the first changeset you want to modify:

    hg qinit
    hg qimport -g -r <first-revnr>:tip
    

    Then use qpop or qgoto to navigate to the respective changesets:

    hg qgoto <revnr>.diff
    

    And then use qrefresh to change the user info on the currently active changeset:

    hg qrefresh -u "Some User <user@example.com>"
    

    You can verify with hg log whether the user was correctly updated. After this, repeat for all other changesets.

    When you are done, qpush all patches and use qfinish to finalize the repository.

    hg qpush -a
    hg qfinish -a
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a CMS at the moment and have been looking for a
Looking for work at the moment, I'm seeing a lot of places asking for
At the moment I have code that is looking through a huge string. It
At the moment I not too sure where my problem is. I can draw
I'm looking at Scheme at the moment for a bit of fun, using the
I'm looking at some code at the moment which has been ported and is
Looking for books, blogs, web sites or videos. At the moment I am getting
Currently I am looking at securing our web services. At the moment we are
Okay,.. I'm looking into technologies for a 'Case Management' solution design at the moment
I looking to optimize an existing Makefile. It's used to create multiple plots (using

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.