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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:45:42+00:00 2026-06-11T15:45:42+00:00

When I run hg outgoing -v I see the outgoing changeset and all files

  • 0

When I run hg outgoing -v I see the outgoing changeset and all files it includes. I forgot to set Mercurial to ignore images, and I’ve realised that my outgoing contains images. I’d like to remove all .jpg files from outgoing.

I did another hg commit after the one that added the images, so hg rollback doesn’t seem to be an option. I’ve tried running hg push, but I aborted since it took too long to finish (because of the images). Can I fix this without starting the repository again?

  • 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-06-11T15:45:44+00:00Added an answer on June 11, 2026 at 3:45 pm

    Yes. In your case, the most simple approach is probably:

    1. Don’t panic. If anything goes wrong, try the following steps again 🙂
    2. Clone your repo locally (just use the broken version as “url”) and use -r to get everything but the commit that you don’t want. You can use hg log on the new repo to make sure you have what you want.
    3. Make sure the images don’t get committed -> edit .hgignore, etc.
    4. Commit that
    5. Export the last commit (use hg export -r ...) and apply it to the “good” clone (hg import)
    6. Move the broken repo somewhere else (just in case you still need it)
    7. Continue to work on the new, clean copy. You might need to add the default push path to hgrc again. Just compare the content of the .hg/hgrc files of your broken and good repo.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I run the following command to link the different files in my project. /opt/gcc-4.7-cilkplus/bin/gcc
To run the spec files & assets as coffee script, I decided to go
The Run > Debug History menu item in Eclipse (Helios) contains a MRU list
Possible Duplicate: Detecting SMS incoming and outgoing I want to write a app that
I'm trying to write an Applescript that will make an outgoing Skype call at
I'm writing a message processing application (email) that I want to have an outgoing
For an App Engine app that is serving mostly static pages and images (a
I run into a special situation that needs to make $arr = Foo::bar(); $v
I've got a Plone instance that's being run for users in Sydney, so the
Background: I'm writing a daemon that makes outgoing TCP/IP connections. It will be running

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.