From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: [Accepted] [O,2/3] Fix allocations handling for tj3 Date: Tue, 22 Mar 2011 10:47:30 +0100 (CET) Message-ID: <20110322094730.BB33164AF@myhost.localdomain> References: <1300720268-9375-3-git-send-email-christian.egli@alumni.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=54425 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1yBu-0002cc-L2 for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 05:47:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1yBt-00004x-8H for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 05:47:54 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:61115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1yBt-0008WJ-1x for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 05:47:53 -0400 Received: by bwz17 with SMTP id 17so6497481bwz.0 for ; Tue, 22 Mar 2011 02:47:52 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Patch 708 (http://patchwork.newartisans.com/patch/708/) is now "Accepted". Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C1300720268-9375-3-git-send-email-christian.egli%40alumni.ethz.ch%3E Here is the original message containing the patch: > Content-Type: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [O,2/3] Fix allocations handling for tj3 > Date: Mon, 21 Mar 2011 20:11:07 -0000 > From: Christian Egli > X-Patchwork-Id: 708 > Message-Id: <1300720268-9375-3-git-send-email-christian.egli@alumni.ethz.ch> > To: emacs-orgmode@gnu.org > Cc: Christian Egli > > From: Christian Egli > > * org-taskjuggler.el (org-taskjuggler-open-task): Only emit a "purge > allocations" statement if we are not targeting tj3. > > --- > lisp/org-taskjuggler.el | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lisp/org-taskjuggler.el b/lisp/org-taskjuggler.el > index 279f46d..bcf2c45 100644 > --- a/lisp/org-taskjuggler.el > +++ b/lisp/org-taskjuggler.el > @@ -660,8 +660,8 @@ org-mode priority string." > (format " depends %s\n" previous-sibling) > (and depends (format " depends %s\n" depends))) > (and allocate (format " purge %s\n allocate %s\n" > - (or (and (org-taskjuggler-targeting-tj3-p) "allocations") > - "allocate") > + (or (and (org-taskjuggler-targeting-tj3-p) "allocate") > + "allocations") > allocate)) > (and complete (format " complete %s\n" complete)) > (and effort (format " effort %s\n" effort)) >