Mercurial > hg > mercurial-crew-with-dirclash
view contrib/tcsh_completion @ 4100:c30c922f907a
Modify qpush/qpop idempotent operations to return success
Modify qpush/qpop such that idempotent instances of the operations
return success. That is, repeated qpush -a, qpop -a, qpush patch-name
or qpop patch-name will return success. The end goal of each of these
operations is to reach a particular state. Whether or not the patches
were already applied does not affect that state or operation status.
Likewise, be careful to retain the error status on a qpush/qpop
without arguments when the end/beginning of the series has been
reached.
author | Ben Thomas <bthomas@virtualiron.com> |
---|---|
date | Tue, 13 Feb 2007 08:54:48 -0500 |
parents | 2073e5a71008 |
children |
line wrap: on
line source
# # tcsh completion for Mercurial # # This file has been auto-generated by tcsh_completion_build.sh for # Mercurial Distributed SCM (version 325c07fd2ebd) # # Copyright (C) 2005 TK Soh. # # This is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free # Software Foundation; either version 2 of the License, or (at your # option) any later version. # complete hg \ 'n/--cwd/d/' 'n/-R/d/' 'n/--repository/d/' \ 'C/-/( -R --repository \ --cwd \ -y --noninteractive \ -q --quiet \ -v --verbose \ --debug \ --debugger \ --traceback \ --time \ --profile \ --version \ -h --help)/' \ 'p/1/(add addremove annotate bundle cat \ clone commit ci copy cp \ debugancestor debugcheckstate debugconfig debugdata debugindex \ debugindexdot debugrename debugstate debugwalk diff \ export forget grep heads help \ identify id import patch incoming \ in init locate log history \ manifest outgoing out parents paths \ pull push rawcommit recover remove \ rm rename mv revert root \ serve status tag tags tip \ unbundle undo update up checkout \ co verify version)/'