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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:06:35+00:00 2026-05-18T01:06:35+00:00

In a busy repository, I can foresee some files with too much central logic

  • 0

In a busy repository, I can foresee some files with too much central logic in one place being edited constantly.

Is there any way to find such files by asking Mercurial, either through bundled extensions, 3rd party extensions, or any external tools?

Basically I’d like some statistics that shows files that are edited the most over time, so that I can use this to find candidates for splitting, like refactoring the code into multiple files, to avoid having constant merge pain for single files.

I’m aware of the churn extension, but it seems to only focus on how much each author does to the repository, not what the authors do it to.

  • 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-18T01:06:35+00:00Added an answer on May 18, 2026 at 1:06 am

    I don’t think any of the churn, activity, or chart extensions does exactly that, though they’re all a simple tweak away from it I think (they group by user not by file).

    You could use a loop like:

    for therev in $(seq 1 $(hg id -n -r tip)) ; do
      hg diff --change $therev --stats
    done
    

    And then total by file.

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

Sidebar

Related Questions

I'm very busy write now debugging some code, so I can't cookup a complete
After being busy sometime with website development and constantly having trouble with making my
I've been busy with some AJAX code. I want to calculate how much data
Im busy with my app and i walked in some problems when i click
I'm busy on making a Business Logic Layer. Now I had a problem since
I´m busy converting an existing project from an Ant build to one using Maven.
SO busy with some code, and have a function which basically takes dictionary where
I've been busy working on a program that can solve Minesweeper puzzles (for no
Some of us programmers have to deal with graphic files every once and awhile...
I am busy writing a CodeSmith template that has one of its properties as

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.