changed 'osc request revoke' to prevent set same state twice
authorDanny Kukawka <danny.kukawka@web.de>
Wed, 18 Aug 2010 15:58:42 +0000 (17:58 +0200)
committerDanny Kukawka <danny.kukawka@web.de>
Wed, 18 Aug 2010 15:58:42 +0000 (17:58 +0200)
commit50f6ba67ea03811cc4c4f68b511b793dbd34717a
tree8f0de8315a92ec86f31a198bdacb51de0c5342f6
parentd2b9015d8f559f0ba29fcec15ad17d0d71e368da
changed 'osc request revoke' to prevent set same state twice

Changed 'osc request {reopen,accept,decline,wipe,revoke}' to check
the current state and ask the user if the requested state is the
same as the current state of the request. This should prevent e.g.
useless state changes (set to revoke multiple times in a row) by
accident.
osc/commandline.py