Anonymous avatar Anonymous committed 0265a74

added multirev and autostash

Comments (0)

Files changed (1)

       auto.track.new = True
 }}}
 
+You can have the tasks extension automatically 'stash' your working copy when you are working on a task.  This allows you to update to a task, do some work, and then update to another task or node and not lose your changes.  This means you can switch your context easily and not worry about committing your files.  To enable auto stashing of tasks, add this to your config:
+{{{
+      [tasks]
+      auto.stash.tasks = True
+}}}
+
 === commands ===
 
 List tasks:
 Create a new task:
 {{{
       $ hg task mytask
+      $ hg task mytask -r 3       # will create new task at revision 3
+
+      $ hg task mytask -r 3:10    # will create new task with parent at rev 3,
+                                  # start at rev 4, and end at rev 10
 }}}
 Rename a task:
 {{{
       $ hg task mytask -t -r 3
       $ hg task mytask --trim --rev 3
 }}}
+Append revisions to a task:
+{{{
+      $ hg task mytask -n -r 3
+      $ hg task mytask --append --rev 3
+}}}
 
 === additional push options ===
 This extension changes the behaviour of the 'push' command and adds two new options.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.