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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:47:16+00:00 2026-05-22T19:47:16+00:00

This is not exactly a programming question, however I think it fits here better

  • 0

This is not exactly a programming question, however I think it fits here better than in the TeX group

I want to use version control for keeping track of changes of text files (which are used to create LaTeX output. (As I am no programmer, I don’t have deeper experience with version control system yet.)
I’d like to use Mercurial for that, and I’m working on MacOS X 10.6.

The files are about job applications, so mostly 3 files for each company:

  • a letter of motivation
  • a CV
  • and one file with the diplomas, certificates, …

I have several questions concerning practical things:

  1. I have already one directory containing many subdirectories (one for each company). Each subdirectory contains those 2 or 3 *.tex files as well as the auxiliary files and the resulting pdfs. (and sometimes some other files with information about the company).
    If I want to add the already existing files in the new repository and creating a revision from each one (there about 15 different versions), how can I do that?
    Sure, the relations of “parent” and “child” will not be visible, but at least I can do a diff and see what changed and each one would have a revision number.
  2. Can I leave those files in the original directories and add them to the version control system, or do they have to be in a special place?
    (I’d like to add other files to those directories, which will not be added to the version control and I wonder
  3. Can I give a “name” to a revision (e. g. the company name) for easier finding them afterwards?
  4. What would be the best workflow for creating new revisions?
    I’d choose an exisiting revision from the repository, export it to a new folder for the new company, change the tex files and then commit it back to the repo?!
  • 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-22T19:47:17+00:00Added an answer on May 22, 2026 at 7:47 pm

    At first, I would recommend two free online sources about Mercurial: hginit
    and the book Mercurial: The Definitive Guide.

    Now, to your questions.

    I’ll start with the third. Yes, it is possible to attach names to revisions, they are called tags.

    To commit your existing versions into a linear history in one repository do the following:

    mkdir myNewRepo
    cd myNewRepo
    hg init
    

    Now you have a new repository. For every company directory repeat the following steps in order to copy your files into the repository, make them known to hg, commit them and tag that new revision with a name.

    cp ../oldVersionA/* .
    hg add letter.tex resume.tex diploma.pdf
    hg commit -m "Job application to A Inc."
    hg tag companyA
    

    Note, that you only have to add every file path once to a repository.

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

Sidebar

Related Questions

I found a few questions related to this around here but not exactly what
I'm not exactly a JS pro, and while not pretty or efficient, this works.
My question is about memory use and objects in actionscript 2. If I have
Okay firstly I just started C# so I'm not exactly the most skilled programmer
I have a problem with a game i am programming. I am making some
I am designing a RPG game like final fantasy. I have the programming part
I would like to use Core Data for a drawing application where the user
I have something similar to this function testfunction(runthis) { runthis(); } function main() {
We manage a site for a medical charity. They have a number of links
I have a login.jsp page which contains a login form. Once logged in the

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.