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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:04:09+00:00 2026-05-12T20:04:09+00:00

hg log works. hg log –style does not work. C:\temp\myhg> c:\program files\mercurial\hg log changeset:

  • 0

hg log works.
hg log –style does not work.

C:\temp\myhg>"c:\program files\mercurial\hg" log

changeset:   0:9c62e300d833
user:        Administrator@biostar
date:        Wed Oct 21 04:57:41 2009 -0500
summary:     124 my first commit

C:\temp\myhg>"c:\program files\mercurial\hg" log --style paper
abort: Permission denied: c:\program files\mercurial\templates\paper

As long as you’re reading, here’s the big picture: I want to get log format in an easy-to-parse format. If I use a –template {files} with the the log command, and if there are spaces in the filenames, the output isn’t friendly to parsing. So, according to the docs, I need to use a “style”. But, I can’t even get as far as using the styles that install with Mercurial.

I did a vanilla install of Mercurial on Windows XP and have been able to run the init, add, commit, and log commands with no problems.

  • 1 1 Answer
  • 1 View
  • 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-12T20:04:10+00:00Added an answer on May 12, 2026 at 8:04 pm

    AFAIK, html template sets like ‘paper’ are designed for being used from hgweb. I don’t know how to use them from command line.

    What you can do: write a style that would be easy to parse.

    To use a style you need to have a file named map-cmdline.<style> in templates subdirectory of your Hg installation. Here is the sample of creating template for custom log report. Here is a chapter on styles from HgBook.

    Hope this will help you.

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

Sidebar

Related Questions

the company I work for has a web-based user interface which paying clients log
I am trying to batch rename old log files, but the script only works
I am very interested how git log -- filename works internally. Does this go
I want to test does my gwt-log module works as expected in my application.
We have an internal ASP.NET MVC application that requires a logon. Log on works
I'm logging output with log = /var/log/mysql/query.log and this works ok, but I only
We are using ELMAH to log the web application exception which works great!. Also
I found this in an error log and am trying to work out how
This line works and returns the value that I'm looking for: logs = Log.objects.filter(filterURI=aFilter.uri).values()[0]['yk']
I use SqlWebEventProvider to log the exceptions to sql server, and it works fine.

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.