git-p4: support updating an existing shelved changelist
commit46c609e9ffdbf8d9aba096836386b57371ed16b8
authorLuke Diamand <luke@diamand.org>
Fri, 2 Dec 2016 22:43:19 +0000 (2 22:43 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Dec 2016 20:55:01 +0000 (5 12:55 -0800)
tree756f463499427874048d75993b3390fb51e82c90
parentb34fa5777d84abf123cd6b306e2a9a02dac4fc86
git-p4: support updating an existing shelved changelist

Adds new option "--update-shelve CHANGELIST" which updates
an existing shelved changelist.

The original changelist must have been created by the current user.

This allows workflow something like:

   hack hack hack
   git commit
   git p4 submit --shelve
   $mail interested parties about shelved changelist
   make corrections
   git commit --amend
   git p4 submit --update-shelve $CHANGELIST
   $mail interested parties about shelved changelist
   etc

Signed-off-by: Luke Diamand <luke@diamand.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-p4.txt
git-p4.py
t/t9807-git-p4-submit.sh