- hgattic extension -
patch manage ment and development
+ hgattic extension - manage
-This extension lets you work with a set of disjoint patches in a
-Mercurial repository. With it you can task switch between many patches
-in a single repository and easily share patch sets between
+This extension lets you create patches from uncommited changes using its
+'shelve' command. Shelved changes are unapplied from the working copy and
+stored as patches in the .hg/attic directory.
-Known patches are represented as patch files in the .hg/attic
-directory. Applied patches are changes in the working copy
+They can be later restored using the 'unshelve' command, which merges the
+changes back into the working copy.
+This allows task switching between many patches in a single repository.
+As applied patches are just changes in the working copy they are not part of
+the project history but can, of course, be commited if desired.
+Having all known patches in the .hg/attic directory allows you to easily
+share patch sets between repositories and even control version them.
Common tasks (use 'hg help command' for more details):
store the current working copy changes in a patch in the attic and
- prepare to work on something else
+ prepare to work on something else
attic-display (attic, ls):
list the patches in the attic
- activate a patch to work on
+ activate a patch to work on
attic-display lists the available patches in the attic
attic-shelve saves a patch to the attic from the current changes
- attic-unshelve a
ctivates a patch from the attic
+ attic-unshelve aes a patch from the attic