chiark / gitweb /
Use branch.*.stgit.parentbranch for authoritative parent information.
authorYann Dirson <ydirson@altern.org>
Mon, 5 Feb 2007 22:18:23 +0000 (22:18 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Mon, 5 Feb 2007 22:18:23 +0000 (22:18 +0000)
commit4646e7a35b07fb6a5ade8e1d4f5853a20ebfe908
treeae39f7559ec19274d294f97cada152e5ecf42fb7
parent773f2a27d9c47145d2a95ed0cfa104f82ba0ec1c
Use branch.*.stgit.parentbranch for authoritative parent information.

Also set the API to use remote=None as "parent branch is local", and
have set_parent() translate that to branch.*.remote=".".

Also enforces that we never set a parent-branch info without a
parent-remote (so they are now both set or both untouched), and try to
give useful info when we have to use the old "origin" defaults.

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