chiark / gitweb /
Allow user to protect some branches against "stg pull"
authorChuck Lever <cel@netapp.com>
Thu, 6 Oct 2005 12:57:12 +0000 (13:57 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 6 Oct 2005 12:57:12 +0000 (13:57 +0100)
commit0b4b9499a53813957d23adaa0e97e1cc3a3a6900
treeb592ff804de51d1f8869eed21175228a076f5c7e
parent7b1ba1a6f8c89f551377b3b3791bfee7b01d3350
Allow user to protect some branches against "stg pull"

Sometimes we want to develop against a branch that doesn't evolve (eg.
2.6.12).  To prevent an accidental "stg pull", provide two new options to
stg: "--protect" and "--unprotect".  This also prevents deleting any
patches in the series.

Signed-off-by: Chuck Lever <cel@netapp.com>
stgit/commands/branch.py
stgit/commands/commit.py
stgit/commands/pull.py
stgit/stack.py