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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:25:14+00:00 2026-05-15T08:25:14+00:00

Edit: Thanks msw, omnifarious and tonfa for your answers. Although the example I gave

  • 0

Edit:

Thanks msw, omnifarious and tonfa for your answers. Although the example I gave was one of my main uses for propset, omnifarious & tonfa answered the general question as well. The specific question of including tags into text files was solved by this question.

Thanks for your help.

Original question: ”
I use subversion keywords like Date, Author, Revision number etc in my LaTeX projects to include the revision details in the typeset document. I tried searching for an equivalent to svn propset command in mercurial, but couldn’t find it. A sample command in subversion would be:

svn propset svn:keywords "Date Author Rev" sample.tex

Are there any equivalent commands in mercurial I could use to replace keywords inside a text file under revision control with corresponding details?”

  • 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-15T08:25:14+00:00Added an answer on May 15, 2026 at 8:25 am

    svn propset has many, many uses aside from setting up keyword substitution. Your question is asking about the existence of a general mechanism to solve a specific problem. You should restate your question to ask about the specific problem you want to solve.

    And you would discover that, in fact, there is a mechanism for doing keyword substitution in Mercurial. But it bears very little resemblance to the svn propset mechanism. The KeywordExtension is distributed as part of the standard Mercurial distribution and has been since Mercurial 1.1.

    Mercurial has no equivalent to svn propset in the general case. Mercurial stores very limited meta-data about individual files. It stores whether or not the file is an executable, a link, or whether a particular version is a copy of some other file in the repository. And that’s it. There is no general mechanism in Mercurial for storing meta-data about a file.

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

Sidebar

Related Questions

Why new()/delete() is slower than malloc()/free()? EDIT: Thanks for the answers so far. Please
EDIT: SOLVED Thanks Brooks. Your question led me to keep digging into if the
EDIT: Thanks for the answers below. I couldn't get the UISearchDisplayController to reload the
EDIT: thanks a lot for all the answers an points raised. As a novice
Edit - Thanks for your replies so far and sorry for not stating exactly
Edit: Thanks for the quick answers. Please mark this question for deletion. It doesn't
Edit: Thanks for the previous answers. but in fact I want to do it
EDIT: Thanks guys - perfect! I wish I could check more than one answer,
EDIT Thanks to all for your input. I guess my question was just a
EDIT: Thanks Akshat and Jefferey for your help and advice. I'm going to re-ask

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.