Differences between revisions 10 and 11
Revision 10 as of 2010-10-15 21:57:37
Size: 850
Editor: abuehl
Comment:
Revision 11 as of 2012-11-06 15:10:41
Size: 839
Editor: abuehl
Comment: remove link to deleted page "commit"
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
[[Commit|Committing]] these local modifications produces a new [[ChangeSet|changeset]] in the repository. Mercurial uses the [[DirState|dirstate]] to quickly determine what files in the working directory have changed and thus need to be included in the commit. Committing these local modifications produces a new [[ChangeSet|changeset]] in the repository. Mercurial uses the [[DirState|dirstate]] to quickly determine what files in the working directory have changed and thus need to be included in the commit.

Local Modifications

The local modifications in a working directory are the differences existing between the files in the working directory compared to their parent file revisions in the repository and all added, moved, removed or renamed files.

Those differences can be displayed by a diff.

Committing these local modifications produces a new changeset in the repository. Mercurial uses the dirstate to quickly determine what files in the working directory have changed and thus need to be included in the commit.

If the working directory has two parent revisions (due to a merge), the local modifications will correspond to the resolution of the conflicts.


CategoryGlossary

LocalModifications (last edited 2012-11-06 16:09:22 by abuehl)