Make branch creation atomic
authorYann Dirson <ydirson@altern.org>
Sun, 16 Apr 2006 10:52:35 +0000 (12:52 +0200)
committerCatalin Marinas <catalin.marinas@gmail.com>
Tue, 2 May 2006 20:26:32 +0000 (21:26 +0100)
commita22a62b6760b0e1531d783e414c65ada3d1525d6
treede2d690fc95b8c9b1bb1a64940165c5ebc782655
parentfe847176ac839e64d426e6bf8ab7ad67ba3129d6
Make branch creation atomic

This patch adds an optional create_at parameter to Series.init(), to
pass a git.branch_create() parameter if we want it to be called.  This
parameter can be None, so the test for False has to be explicit.

Signed-off-by: Yann Dirson <ydirson@altern.org>
stgit/commands/branch.py
stgit/stack.py