What is the difference a changeset and a patch?
I was using hg today and I noticed the import command mentions that it is used to “import an ordered set of patches.”
What is a patch?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
Changeset typically refers to the internal representation. Thus,
hg unbundle, which processes mercurial-specific files, “applies one or more changegroup files.” A changegroup is simply a group of changesets.Patches are plain text in standard formats (e.g. produced by
diff). Note that thepatchcommand can be used to process these plaintext files (independent of revision control).