Size: 304
Comment:
|
Size: 955
Comment: +branch name
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
The working directory is the top-level directory in a Repository, in which the plain versions of files are available to read, edit and build. Files in the working directory are usually from the ["Tip"], but may be from older revisions, or modified and not yet ["Commit"]ted. | The '''working directory''' is the top-level directory in a ["Repository"], in which the plain versions of files are available to read, edit and build. Files in the working directory are usually from the ["Tip"], but may be from older revisions, or modified and not yet ["Commit"]ted. A working directory has one or two ["Parent"] ["Revision"]s. The parent revision or revisions will become the parent revisions of the new revision which will eventually be created by a ["Commit"] of the ["LocalModifications"]. An ["Update"] will change the parent revision, whereas a ["Revert"] will only modify the content of the working directory. A working directory will only have two parent revisions as the result of a ["Merge"]. A branch name can be set for the working directory (see NamedBranches). It’s useful to think of the working directory as "the ChangeSet I’m about to commit". ---- CategoryGlossary |
Working directory
The working directory is the top-level directory in a ["Repository"], in which the plain versions of files are available to read, edit and build. Files in the working directory are usually from the ["Tip"], but may be from older revisions, or modified and not yet ["Commit"]ted.
A working directory has one or two ["Parent"] ["Revision"]s. The parent revision or revisions will become the parent revisions of the new revision which will eventually be created by a ["Commit"] of the ["LocalModifications"]. An ["Update"] will change the parent revision, whereas a ["Revert"] will only modify the content of the working directory.
A working directory will only have two parent revisions as the result of a ["Merge"].
A branch name can be set for the working directory (see NamedBranches).
It’s useful to think of the working directory as "the ChangeSet I’m about to commit".