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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T19:53:45+00:00 2026-05-20T19:53:45+00:00

I had two patches in series, neither one applied, and I accidentally called qdelete

  • 0

I had two patches in series, neither one applied, and I accidentally called qdelete on the wrong one. Is there any way to reverse this operation and get my patch back? I had a huge amount of work in this one!!!

  • 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-20T19:53:46+00:00Added an answer on May 20, 2026 at 7:53 pm

    The way to avoid this (and I know it’s not helpful now, sorry) is to not just use Mercurial Queues, mq, but to use it with a patch repository. Mercurial/mq has great support for this.

    When initially creating the queue you do:

    hg qinit --create-repo
    

    (instead of just hg qinit), which creates a new Mercurial repository in your .hg/patches directory. Then you can use:

    hg commit --mq
    

    to commit all your patch files, and bringing this back would be just a matter of:

    hg revert --mq
    

    The bottom line, and again I know it’s not helping you now, but maybe it’ll help the next guy or you later, is: if you’re writing code and it isn’t committed somewhere it doesn’t exist — commit and push early and often

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

Sidebar

Related Questions

If I had two sheets with same column structure - is there a way
Assuming that I had two Models called User and Comment And there is a
I had two separate interfaces, one 'MultiLingual' for choosing language of text to return,
Suppose I had two brushes. One that was a linear gradient brush that was
I had a problem I had two web site one of them with .net
Is there any way to query a Cursor with the content sorted based on
If I had two variables in Objective C like this where one holds the
I had two queries - one that selects group_id by knowing the post_id ,
I had two layout files on R.java and I checked it was there on
I had two copies of checked out project in two diffent locations, but one

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.