Issue #20 open

push task by name

pjv avatarpjv created an issue

hi, this extension is great. thanks for making it available.

i'm wondering if you could see any utility in being able to tell push to only send specific tasks by name, i.e.:

hg task first-task
hg task second-task
hg task third-task

...[working back and forth on first-task and second-task]

hg task first-task -c
hg task second-task -c

hg push first-task

the idea being that even though both first-task and second-task are marked as complete, there might be reasons that i only want to push first-task now and wait for some event before pushing second-task.

of course i could just leave second-task incomplete and push --completed-tasks, but if second-task is really done... it might be nice to mark it as such before wandering away to other things so i don't think i need to work on it anymore when i get back.

Comments (5)

  1. pjv

    i discovered that you can sorta already do this like so (with completed tasks):

    hg push -r taskname
    

    makes sense of course, since tasks are essentially bookmarks which are essentially tags and the -r option on push lets you push a specific revision and its ancestors.

  2. Log in to comment
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.