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

  • Home
  • SEARCH
  • 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 7661283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:34:40+00:00 2026-05-31T13:34:40+00:00

I had a CSS file from a previous revision called ‘bootstrap.css’ I deleted the

  • 0

I had a CSS file from a previous revision called ‘bootstrap.css’

I deleted the file and recreated a totally new file with the same name.

When I came to commit my changes, the deletion of the original bootstrap.css was detected. But the creation of the new file was not detected. Immediately after I committed, the new file was detected.

The only way I could find to get the new file into the repository was to do two separate commits.

Did I do something wrong? Is it a config issue? Or is it supposed to work like that?

(I was using TortoiseHg)

  • 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-31T13:34:40+00:00Added an answer on May 31, 2026 at 1:34 pm

    Mercurial does not maintain a file identity, so you cannot talk about the “old” bootstrap.css and the “new” bootstrap.css. To Mercurial, it’s just data stored under the same file name. You’ll see that

    $ hg log bootstrap.css
    

    will interleave the history of the two files — since there’s really only one file in Mercurial’s eyes.

    This is normally fine and works like you would expect. You can run

    $ hg remove bootstrap.css
    $ echo '/* new and improved */' > bootstrap.css
    $ hg add bootstrap.css
    

    (or the equivalent from TortoiseHg) and the result is that bootstrap.css is modified:

    $ hg status
    M bootstrap.css
    

    Modified just means that it’s different compared to the parent revision.

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

Sidebar

Related Questions

From my previous experience, I've almost always had problems with linking files with my
I had to split up a long css file. I put the smaller css
I had been racking my brains over creating a vertical alignment in css using
I am not a CSS expert (mainly because I haven’t had the need to
Has anyone had any experience writing a web control (in either ASP.net, or javascript/HTML/CSS),
I'm looking for some guidance on extracting the rules and property/values from a .css
I have used a wordpress theme from WPShower called Sight 1.0 on www.agoracollective.org .
im trying to use a file upload control from the obout control library, i
I had downloaded the Google's closure library from the downloads list here the closure-library-20110323-r790.zip
I've had some help from a friend (who is now away on holiday) but

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.