Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 76580 invoked from network); 9 Oct 2009 07:50:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Oct 2009 07:50:20 -0000 Received: (qmail 89028 invoked by uid 500); 9 Oct 2009 07:50:20 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 88994 invoked by uid 500); 9 Oct 2009 07:50:19 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 88973 invoked by uid 99); 9 Oct 2009 07:50:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2009 07:50:19 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aklimets@day.com designates 207.126.148.89 as permitted sender) Received: from [207.126.148.89] (HELO eu3sys201aog103.obsmtp.com) (207.126.148.89) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 09 Oct 2009 07:50:09 +0000 Received: from source ([209.85.216.198]) by eu3sys201aob103.postini.com ([207.126.154.11]) with SMTP ID DSNKSs7rGvQ3r9btnGLARyqRUPQwunj5cr8Z@postini.com; Fri, 09 Oct 2009 07:49:49 UTC Received: by pxi36 with SMTP id 36so6296948pxi.18 for ; Fri, 09 Oct 2009 00:49:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.141.28.16 with SMTP id f16mr241603rvj.109.1255074586111; Fri, 09 Oct 2009 00:49:46 -0700 (PDT) In-Reply-To: <000001ca4846$d83b5c80$88b21580$@org> References: <8EC4F0A8AC7A6D40BF9C55E32249A91608F2A5EE@IBIUSMBSA.ibi.com> <23fce8e60910070800g1db756efxbf1dabc29be4eff9@mail.gmail.com> <000601ca4764$fb444ee0$f1cceca0$@org> <000001ca477a$79b9ea90$6d2dbfb0$@org> <000001ca4818$b8a115a0$29e340e0$@org> <000001ca4846$d83b5c80$88b21580$@org> Date: Fri, 9 Oct 2009 09:49:46 +0200 Message-ID: Subject: Re: Aborting Checkout From: Alexander Klimetschek To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Oct 8, 2009 at 20:40, Mohinder Singh wrote: > If I checkout() a node, then its non-versionable tree becomes write-enabled. > How do I abort (don't want to make changes) this checkout() so that nodes > tree is read-only again. > I do not want to create another version by checkin(). I'd say don't change anything (session.refresh()), checkin() and delete the unnecessary version. Regards, Alex -- Alexander Klimetschek alexander.klimetschek@day.com