chiark / gitweb /
Recognize refs under remotes/ as parent branch on stack creation.
authorYann Dirson <ydirson@altern.org>
Fri, 13 Jul 2007 22:43:56 +0000 (23:43 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Fri, 13 Jul 2007 22:43:56 +0000 (23:43 +0100)
commit0d90f0acee6a0a2f29f7d1020319f657896f36ea
treec88ba558116d2479b702caa035f343873da5eb21
parent1f396835a4b17f50b90d6564899abb5d4a71082d
Recognize refs under remotes/ as parent branch on stack creation.

Also remove the "relaxed" parentbranch detecting logic (accepting
anything with an embedded slash as a parent branch name), which was
never invoked because of a bug, and looks like a bad idea anyway.
Better add sensible namespaces when we feel a need for them, rather
than accepting anything by default, with potentially unwanted results.

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