From: Yann Dirson <ydirson@altern.org>
To: Catalin Marinas <catalin.marinas@gmail.com>
Cc: git@vger.kernel.org
Subject: [PATCH 3/5] Various cleanups for clarity.
Date: Tue, 20 Feb 2007 01:14:13 +0100 [thread overview]
Message-ID: <20070220001413.31139.18688.stgit@gandelf.nowhere.earth> (raw)
In-Reply-To: <20070220000908.31139.36841.stgit@gandelf.nowhere.earth>
Signed-off-by: Yann Dirson <ydirson@altern.org>
---
stgit/stack.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/stgit/stack.py b/stgit/stack.py
index dc6caa6..3185d64 100644
--- a/stgit/stack.py
+++ b/stgit/stack.py
@@ -518,8 +518,6 @@ class Series(StgitObject):
def init(self, create_at=False, parent_remote=None, parent_branch=None):
"""Initialises the stgit series
"""
- bases_dir = os.path.join(self.__base_dir, 'refs', 'bases')
-
if os.path.exists(self.__patch_dir):
raise StackException, self.__patch_dir + ' already exists'
if os.path.exists(self.__refs_dir):
@@ -534,7 +532,7 @@ class Series(StgitObject):
self.set_parent(parent_remote, parent_branch)
- create_dirs(bases_dir)
+ create_dirs(os.path.join(self.__base_dir, 'refs', 'bases'))
self.create_empty_field('applied')
self.create_empty_field('unapplied')
next prev parent reply other threads:[~2007-02-20 0:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-20 0:13 [PATCH 0/5] stgit rebasing fixes Yann Dirson
2007-02-20 0:14 ` [PATCH 1/5] Factorize rebasing behaviour Yann Dirson
2007-02-20 0:14 ` [PATCH 2/5] Move stack-base querying into Series class Yann Dirson
2007-02-20 0:14 ` Yann Dirson [this message]
2007-02-20 0:14 ` [PATCH 4/5] Keep track of safe base changes Yann Dirson
2007-02-20 0:14 ` [PATCH 5/5] Refuse to pull/rebase when rendered unsafe by (un)commits Yann Dirson
[not found] ` <b0943d9e0702211049i7953a3d1x4912e80968546714@mail.gmail.com>
[not found] ` <20070221215731.GE4045@nan92-1-81-57-214-146.fbx.proxad.net>
[not found] ` <b0943d9e0702211458o6de55e3fgd15dd4f4c1c2c622@mail.gmail.com>
2007-02-28 22:15 ` stgit "push --merged" woes Yann Dirson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070220001413.31139.18688.stgit@gandelf.nowhere.earth \
--to=ydirson@altern.org \
--cc=catalin.marinas@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).